🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #731

Re: 'true' defined in g++

#731
From: Jason Merrill
Date: Fri, 11 Aug 1995 08:25
15 lines
1106 bytes
>>>>> 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.

Jason
Technical Details
Message-ID: <u991p0n8yq.fsf@phydeaux.cygnus.com>
Path: arc1-ca.pugleaf.net!cygnus.com!usenet
References: <MAPI.Id.0016.00646120202020203443323930303032@MAPI.to.RFC822>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cygnus.com!usenet
From: jason@cygnus.com (Jason Merrill)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: Re: 'true' defined in g++
Date: 11 Aug 1995 01:25:01 -0700
Organization: Cygnus Support, Mountain View, CA
Sender: jason@phydeaux.cygnus.com
Message-ID: <u991p0n8yq.fsf@phydeaux.cygnus.com>
References: <MAPI.Id.0016.00646120202020203443323930303032@MAPI.to.RFC822>
NNTP-Posting-Host: phydeaux.cygnus.com
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
In-reply-to: jda@expert.DE's message of 11 Aug 1995 03:24:25 -0400
X-Newsreader: (ding) Gnus v0.98.4