C++ and AC_C_INLINE for small projects

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

I'm not an autoconf expert, so please excuse any novice errors.
I'm working on AIX with the C++ compiler xlC 6.

Because I have read the thread "Using AC_C_INLINE blows up C++ tests" in June,
I've already updated autoconf to version 2.57b, so the patch described in the
thread is incorporated.

The problem is, that the patch only workds when the autoconfigured package uses
the config.h-Header file.
When the package is only a small package that wants to get its definition via
the command line, you're still lost as you only get the "-Dinline=__inline" (or
whatever) definition, even when compiling a C++-file.

Any ideas?

Olaf


-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/jm6wtQ3riQ3oo/oRAqDDAKCGglGdIFAu28iEQHoHmHwXrjWTSACghh0+
KGJq3zzVGrQSOlcUvnzLyHI=
=t7/n
-----END PGP SIGNATURE-----




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

  Powered by Linux