This is the mail archive of the gcc@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: Deprecate -traditional-cpp?


On Thu, Sep 05, 2019 at 02:16:08PM +0300, Janne Blomqvist wrote:
> On Thu, Sep 5, 2019 at 2:08 PM Nathan Sidwell <nathan@acm.org> wrote:
> >
> > Is it time to deprecate traditional preprocessing?  It's been  30 years
> > since C89.  Are (non-compiler) tools that use it still things?
> >
> > Handling it gets its hooks into a bunch of odd places in libcpp.
> >
> > To be specific: deprecate -traditional-cpp for GCC10, remove in GCC11.
> 
> The Fortran frontend uses traditional mode, for reasons I can't recall
> at the moment.
> 

Modern C allows single line comments to start with //

program hello
   print *, "Hello " // "world!"
end progra


-- 
Steve


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