This is the mail archive of the gcc-bugs@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]

[Bug preprocessor/65387] [4.8/4.9/5 Regression] cpp -C emits extraneous comment header on every file


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

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