John Ling <jling@xxxxxxxxxxxxxxxxxxxxx> writes: > Line 1070 is as follows: > > 1070: #ifndef __cplusplus > 1071: ((_class(__x) == FP_SNAN) || (_class(__x) == FP_QNAN) ? \ > 1072: #endif > > It looks fine to me. But i could try removing these ifndef/endif lines. > > Is gcc-lib a separate package? I notice it refers to aix4.3.2.0 yet > my aix is 5.2.0.0. Perhaps that could be a reason why its not > working. If its a separate package then maybe i should install that > first. gcc-lib is not a separate package. The files in gcc-libl/TARGET/VERSION/include are created by fixing the header files on the system when gcc is installed. This process needs to happen because many systems have header files which do not by themselves work with gcc. It may be a problem that you have a fixed version of the AIX 4.3.2.0 header files when you are using AIX 5.2.0.0. The simplest way to fix that is to reinstall gcc, assuming you still have the source code. Or to find a binary package for AIX 5.2.0.0. Those lines in the header file look fine. Since the error was > >>/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/2.95.3/include/math.h:1070: > >>`#' operator should be followed by a macro argument name I see now that gcc thinks that line 1070 is in a macro definition. Is there perhaps a backslash at the end of line 1069, where line 1069 is in a #define? Ian