freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Re: [Freetype] compiling with 2.0.1 fails (new scheme)


From: Werner LEMBERG
Subject: [Devel] Re: [Freetype] compiling with 2.0.1 fails (new scheme)
Date: Tue, 12 Dec 2000 08:56:46 +0100 (CET)

[sorry for posting this on freetype@ and devel@, but I try to reach as
much people as possible]

> >Which version of gcc?  Using 2.95.2 works OK.  I have the same problem
> >with the C++ compiler on Solaris.
> 
> hm... i have 2.95.2 (running on debian potato). it doesn't work at
> all.

My gcc -v gives:

Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)

I've meanwhile tried other schemes which works OK with gcc and Sun's
cc compiler, but Sun's CC still refuses.

Apparently, macros are not expanded for some compilers before
concatenation.  For example,

  #define FOO xxx
  #define BAR FOO ## yyy

gives `FOOyyy' instead of `xxxyyy'.


    Werner



reply via email to

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