bug-gnulib
[Top][All Lists]
Advanced

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

Re: C++ libtool build error?


From: Simon Josefsson
Subject: Re: C++ libtool build error?
Date: Tue, 09 Mar 2010 16:50:57 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Eric Blake <address@hidden> writes:

> On 03/09/2010 01:02 AM, Simon Josefsson wrote:
>> No, I have version '2.2.6b' from debian.
>> 
>> I noticed one thing: if I add AC_PROG_CXX to libidn/configure.ac
>> everything works.  So I believe this is a bug in gnulib, it is adding
>> C++ files to my project so it should make sure that a C++ compiler is
>> available.  I see the ansi-c++-opt module, maybe it is missing some
>> libtool magic?
>
> Which begs the question - why is gnulib-tool making C-only projects to
> import C++ test files?  It seems like C++ files should be excluded
> unless the developer explicitly requests that both C and C++ be supported.

That would indeed be nice (I'd prefer to not ever risk having to worry
about C++ compiler issues for a C library), but I'm not sure there is
any capability like that in gnulib today.

/Simon




reply via email to

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