This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/86566] The preprocessor cpp6 loses line concatenation on FreeBSD
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Jul 2018 17:09:03 +0000
- Subject: [Bug fortran/86566] The preprocessor cpp6 loses line concatenation on FreeBSD
- Auto-submitted: auto-generated
- References: <bug-86566-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86566
--- Comment #3 from kargl at gcc dot gnu.org ---
The proper way to preprocess Fortran code is with the Fortran
compiler. You can and should use 'gfortran -cpp'. See the
documentation that comes with your compiler.
If you think you need to use gcc, then you must use the
--tradition-cpp option. The Fortran concatenation operator
// conflicts with modern C's comment delimiter //.