Article View: gnu.g++.help
Article #736Re: 'true' defined in g++
From: James Kanze US/ESC 60/3/141 #407...
Date: Wed, 16 Aug 1995 15:32
Date: Wed, 16 Aug 1995 15:32
28 lines
1649 bytes
1649 bytes
In article <u991p0n8yq.fsf@phydeaux.cygnus.com> jason@cygnus.com
(Jason Merrill) writes:
|> >>>>> Julian Adams <jda@expert.DE> writes:
|> > I'm trying to compile Zinc ( a cross platform GUI library) with g++
|> > 2.6.3. It won't work because 'true' is the name of a Zinc class
|> > member, and also seems to be defined in the compiler.
|> > I have successfully compiled Zinc on g++ 2.5.8, but don't want to be
|> > stuck with using an old compiler version forever.
|> > Could anyone tell me if true will remain defined in future releases
|> > of g++ ?
|> Yes. Add ' -Dtrue=xtrue' to your CFLAGS.
And watch all of the other libraries break when they start using the
standard:-(.
I would definitly lobby the vendor to change this name. In fact, I
would ask them what they were thinking of when they chose it to begin
with.
--
James Kanze Tel.: (+33) 88 14 49 00 email: kanze@gabi-soft.fr
GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
Conseils en informatique industrielle --
-- Beratung in industrieller Datenverarbeitung
Technical Details
Message-ID:
<KANZE.95Aug16173233@slsvhdt.lts.sel.alcatel.de>Path:
arc1-ca.pugleaf.net!xlink.net!slsv6bt!newsReferences:
<MAPI.Id.0016.00646120202020203443323930303032@MAPI.to.RFC822> <u991p0n8yq.fsf@phydeaux.cygnus.com>Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help,comp.lang.c++ Path: arc1-ca.pugleaf.net!xlink.net!slsv6bt!news From: kanze@lts.sel.alcatel.de (James Kanze US/ESC 60/3/141 #40763) Subject: Re: 'true' defined in g++ In-Reply-To: jason@cygnus.com's message of 11 Aug 1995 01:25:01 -0700 Message-ID: <KANZE.95Aug16173233@slsvhdt.lts.sel.alcatel.de> Sender: news@lts.sel.alcatel.de Organization: SEL References: <MAPI.Id.0016.00646120202020203443323930303032@MAPI.to.RFC822> <u991p0n8yq.fsf@phydeaux.cygnus.com> Date: 16 Aug 1995 15:32:33 GMT