freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] [patch] make freetype1 compile with gcc-3.3


From: Antoine Leca
Subject: Re: [Devel] [patch] make freetype1 compile with gcc-3.3
Date: Fri, 29 Nov 2002 20:43:41 +0100
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530

Salut David,

David Turner écrivit:
Hi Antoine,

Tiens, c'est devenu "automatique"!

Antoine Leca wrote:

Also why has it been commited in the first time... I assume this
is because of some stupid compiler :-(.
David, did you remember writing such a thing?

I don't remember this, but I wouldn't be surprised if I did authored
these lines though. And yes, that probably comes from some odl and
rusty stupid compiler so we can change this.

Well, in fact after thinking more than 1 minute, I believe an earlier
version did have direct access to some variable, whose name was
semi-automatically generated. Such as

#define FOOTPRINT( field )  Save_Memory( &memory_footprint.##field )

was once

   #define FOOTPRINT( field )  Save_Memory( & foobar_##field )

Then, you introduced the memory_footprint structured var, and did not
remove the (then useless) ##. And as the compilers of the time (and
including gcc 3.2, as it seems) did not complain, this stays!
Seems more logical, but I was not there to look if it is true.


Antoine





reply via email to

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