Re: Deprecate -traditional-cpp

2019-09-10 Thread coypu
Just chiming in. My buddy wrote a traditional C pre-processor for use with Imake (and, presumably, other old things). https://www.netbsd.org/~dholland/tradcpp/ (It's standalone).

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Gaius Mulley
2:08 PM Nathan Sidwell 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 int

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Steve Kargl
gt; > > > 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. > &g

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Steve Kargl
> > > 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

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Steve Kargl
t; > > 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 sing

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Martin Jambor
Hi, On Thu, Sep 05 2019, Nathan Sidwell wrote: > Is it time to deprecate traditional preprocessing? It's been 30 years > since C89. Are (non-compiler) tools that use it still things? xrdb runs .Xdefaults and I believe .Xresources files through the pre-processor and I still use the latter to

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Florian Weimer
* Jakub Jelinek: > On Thu, Sep 05, 2019 at 02:33:35PM +0200, Andreas Schwab wrote: >> On Sep 05 2019, Nathan Sidwell wrote: >> >> > Is it time to deprecate traditional preprocessing? It's been 30 years >> > since C89. Are (non-compiler) tools that use it still things? >> >> It's probably

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Florian Weimer
* Nathan Sidwell: > Is it time to deprecate traditional preprocessing? It's been 30 > years since C89. Are (non-compiler) tools that use it still things? Doesn't imake still use it? checking for cpp... /usr/bin/cpp checking if /usr/bin/cpp requires -undef... yes checking if /usr/bin/cpp

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Jakub Jelinek
On Thu, Sep 05, 2019 at 02:33:35PM +0200, Andreas Schwab wrote: > On Sep 05 2019, Nathan Sidwell wrote: > > > Is it time to deprecate traditional preprocessing? It's been 30 years > > since C89. Are (non-compiler) tools that use it still things? > > It's probably still used together with

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Andreas Schwab
On Sep 05 2019, Nathan Sidwell wrote: > Is it time to deprecate traditional preprocessing? It's been 30 years > since C89. Are (non-compiler) tools that use it still things? It's probably still used together with -xassembler-with-cpp. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de

Re: Deprecate -traditional-cpp?

2019-09-05 Thread Janne Blomqvist
e specific: deprecate -traditional-cpp for GCC10, remove in GCC11. The Fortran frontend uses traditional mode, for reasons I can't recall at the moment. -- Janne Blomqvist

Deprecate -traditional-cpp?

2019-09-05 Thread Nathan Sidwell
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. nathan -- Nathan