This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Preprocessor woes
- To: libc-hacker at sources dot redhat dot com
- Subject: Preprocessor woes
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Fri, 5 Jan 2001 22:33:55 +0100
- CC: gcc at gcc dot gnu dot org
When compiling glibc for the Hurd, during generation of the .map
files, I get the following error messages:
:1163: parse error
:1169: parse error
:1258: parse error
:1267: parse error
:1295: parse error
:1303: parse error
:1342: parse error
The line numbers are exactly the lines where constructs like
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
occur. Since the SHLIB_COMPAT macro uses the ISO C ## concatenation
operator, -traditional messes things up. Is there any chance at
convincing the GCC folks to provide a preprocessor that's backwards
compatible with cccp?
Mark