Re: AC_C_CONST with C++

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

 



Paul Eggert wrote:
Lorenzo Bettini <bettini@xxxxxxxxxxxx> writes:

I'm using this macro AC_C_CONST in a configure script of a program
that uses both C and C++.

The current Autoconf documentation says of AC_C_CONST "This macro is
obsolescent, as current C compilers support `const'.  New programs
need not use this macro."

So the simplest fix for you is to not use AC_C_CONST.


OK, I see; especially I agree that if one has such an old C compiler it will be impossible to compile the C++ code.

thanks
	Lorenzo

--
+-----------------------------------------------------+
| Lorenzo Bettini          ICQ# lbetto, 16080134      |
| PhD in Computer Science, DSI, Univ. di Firenze      |
| Florence - Italy        (GNU/Linux User # 158233)   |
| http://www.lorenzobettini.it                        |
| http://tronprog.blogspot.com  BLOG                  |
| http://www.purplesucker.com Deep Purple Cover Band  |
| http://www.gnu.org/software/src-highlite            |
| http://www.gnu.org/software/gengetopt               |
| http://www.gnu.org/software/gengen                  |
| http://doublecpp.sourceforge.net                    |
+-----------------------------------------------------+



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

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

  Powered by Linux