lmi
[Top][All Lists]
Advanced

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

Re: [lmi] Building lmi with pre-wx-2.9.5 snapshot


From: Vadim Zeitlin
Subject: Re: [lmi] Building lmi with pre-wx-2.9.5 snapshot
Date: Sat, 20 Jul 2013 00:25:58 +0200

On Fri, 19 Jul 2013 22:08:57 +0000 Greg Chicares <address@hidden> wrote:

GC> On 2013-07-11 14:06Z, Greg Chicares wrote:
GC> [...]
GC> > In file included from /opt/lmi/local/include/wx-2.9/wx/version.h:17,
GC> >                  from /opt/lmi/local/include/wx-2.9/wx/defs.h:194,
GC> >                  from /opt/lmi/local/include/wx-2.9/wx/mimetype.h:20,
GC> >                  from /lmi/src/lmi/file_command_wx.cpp:37:
GC> > /opt/lmi/local/include/wx-2.9/wx/cpp.h:153:30: anonymous variadic macros 
were introduced in C99
GC> > /opt/lmi/local/include/wx-2.9/wx/cpp.h:155:66: anonymous variadic macros 
were introduced in C99
GC> > [...]
GC> > /opt/lmi/local/include/wx-2.9/wx/cpp.h:170:31: anonymous variadic macros 
were introduced in C99
GC> > /lmi/src/lmi/workhorse.make:762: recipe for target `file_command_wx.o' 
failed
GC> 
GC> I no longer see these warnings with the official wx-2.9.5 release.
GC> How did you prevent them from occurring? Just curious.

 I've fixed handling of --disable-vararg_macros configure switch which now
really overrides variadic macros auto-detection. If you leave it out from
your configure command line, I am afraid you'd still be getting the
warnings because the auto-detection is relatively dumb and just checks that
g++ version is >= 3.0, in which support for variadic macros was added, but
doesn't check for __STRICT_ANSI__ as it probably ought to.

 But at least the way to override it works now and I think this is good
enough for the time being.

 Regards,
VZ

reply via email to

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