From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311 Description of problem: When using the __USE_ISOC99 macro with math.h the compiler throws an error. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.write c-program with #define __USE_ISOC99 #include <math.h> and compile. 2.compiler complains that /usr/include/math.h:118:17: #if with no expression /usr/include/math.h:354:17: #if with no expression
Created attachment 48804 [details] patch for math.h
That's no bug. You shouldn't define glibc's internal macros. If you want ISO C99 functions, use either: -std=c99 -D_ISOC99_SOURCE -D__STDC_VERSION__=199901L (in order of preference). This is all documented in info libc and /usr/include/features.h too.