autoconf
[Top][All Lists]
Advanced

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

strange macros defined


From: Rob Benton
Subject: strange macros defined
Date: Thu, 29 Apr 2004 18:12:57 -0500
User-agent: Mozilla Thunderbird 0.5 (X11/20040306)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]