🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Julian Adams Fri, 11 Aug 1995 07:24
'true' defined in g++
#730
Author: Julian Adams
Date: Fri, 11 Aug 1995 07:24
13 lines
811 bytes
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++ ?

Thanx in advance,

Julian
Re: 'true' defined in g++
#731
Author: 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
Re: 'true' defined in g++
#736
Author: James Kanze US/ESC 60/3/141 #407...
Date: Wed, 16 Aug 1995 15:32
28 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads