[PATCH] Rename arguments in include/cmath to work around Newlib macro implementation using these particular names

Jon Roelofs jonathan at codesourcery.com
Tue Aug 26 15:09:15 PDT 2014


Here's one of many examples from Newlib's <math.h> that motivated this:

#define isgreater(x,y) (__extension__ ({__typeof__(x) __x = (x); __typeof__(y) __y = (y); !isunordered(__x,__y) && (__x > __y);}))

http://reviews.llvm.org/D5080






More information about the cfe-commits mailing list