This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Preprocessor woes


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]