logo       

strange macros defined: msg#00147

sysutils.autoconf.general

Subject: strange macros defined

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






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise