This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: tweak gcc.dg/cpp/trad/include.c test


> 
> When running the GCC testsuite on newlib targets,
> gcc.dg/cpp/trad/include.c fails because newlib's stdio.h header uses ##.
> -traditional-cpp causes the preprocessor to warn about these.
> 
> There are two ways to fix this: (1) mangle newlib's stdio.h header to
> avoid these just so that we can run the tests with -traditional-cpp or
> (2) just choose a different and equally available header.
> 
> I felt that (2) was the easiest change.  Okay for the trunk?

I actually rather have stdio.h fixed anyways because you never know when
people will use -tranditional-cpp.

-- Pinski


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