This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/65387] [4.8/4.9/5 Regression] cpp -C emits extraneous comment header on every file
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Mar 2015 15:52:20 +0000
- Subject: [Bug preprocessor/65387] [4.8/4.9/5 Regression] cpp -C emits extraneous comment header on every file
- Auto-submitted: auto-generated
- References: <bug-65387-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65387
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #3 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
https://gcc.gnu.org/gcc-4.8/porting_to.html suggests to use -ffreestanding
Of course, the real fix for this and future issues arising from such mis-use is
to make libcpp more general and enable cpp to have a "Fortran mode" (-x
fortran) or even compile a Fortran version of cpp (fpp?). This would be a very
valuable contribution to GCC and gfortran and, technically, it should be not
very difficult:
https://gcc.gnu.org/wiki/GettingStarted#Basics:_Contributing_to_GCC_in_10_easy_steps