strange macros defined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On an AIX machine I ran these macros and got the following results:

macro                              result
-------------------------          -------------------------
AC_C_INLINE                        -Dinline=__inline
AC_FUNC_MALLOC                     -Dmalloc=rpl_malloc
AC_FUNC_REALLOC                    -Drealloc=rpl_realloc


Is this expected? The only reason I ask is that the c++ compiler on this machine, xlC_r, is throwing errors at me:


"/usr/vacpp/include/stdlib.h", line 26.14: 1540-0040 (S) The text "int" is unexpected. "__inline" may be undeclared or ambiguous.
"/usr/vacpp/include/stdlib.h", line 27.14: 1540-0040 (S) The text "long" is unexpected. "__inline" may be undeclared or ambiguous.
"/usr/vacpp/include/stdlib.h", line 119.14: 1540-0040 (S) The text "int" is unexpected. "__inline" may be undeclared or ambiguous.
"/usr/vacpp/include/stdlib.h", line 120.14: 1540-0040 (S) The text "long" is unexpected. "__inline" may be undeclared or ambiguous.





There's about 40 lines of that. These were the flags I sent to xlC_r:


-g -q64 -qcpluscmt -qmaxmem=65536 -c




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux