Title: RE: HP-UX 11.0 and native CC and CXX

Are there really any C++ compilers that don't support const and inline?


-----Original Message-----
From: Kevin Ryde [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 30, 2002 4:27 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: HP-UX 11.0 and native CC and CXX


Paul Eggert <[EMAIL PROTECTED]> writes:
>
> You'd need to fix Autoconf to keep track of the two languages
> separately for 'inline'.  This should probably be generalized to other
> keywords like 'const'.

I guess for config.in wrapping them in a #ifndef __cplusplus would do
the trick.

Wouldn't work for command line defs, but it might be easiest to insist
anyone using AC_C_INLINE and C++ should only use config.h.

Reply via email to