Re: Deprecate not defining NO_IMPLICIT_EXTERN_C

2018-03-22 Thread Nathan Sidwell
On 03/21/2018 05:28 PM, Joseph Myers wrote: > My list from 2005 of targets not defining NO_IMPLICIT_EXTERN_C then is > . Thanks for the link. I see you floated inverting the sense of the switch -- which would be good, as it appears we still

Re: Deprecate not defining NO_IMPLICIT_EXTERN_C

2018-03-21 Thread Joseph Myers
On Wed, 21 Mar 2018, Nathan Sidwell wrote: > Unfortunately it's a negative-sense define, that now at least most ports > define. Do all ports define it? It's hard to determine that, because many > ports get it set via config/gnu-user.h or similar common file. Bare-metal ports often fail to

Re: Deprecate not defining NO_IMPLICIT_EXTERN_C

2018-03-21 Thread Nathan Sidwell
On 03/21/2018 10:18 AM, David Edelsohn wrote: AIX still requires implicit extern C. I previously have tried to disable the feature on AIX and it failed miserably. That's unfortunate :( nathan -- Nathan Sidwell

Re: Deprecate not defining NO_IMPLICIT_EXTERN_C

2018-03-21 Thread David Edelsohn
AIX still requires implicit extern C. I previously have tried to disable the feature on AIX and it failed miserably. Thanks, David On Wed, Mar 21, 2018 at 8:15 AM, Nathan Sidwell wrote: > Port maintainers CC'd, apologies if I've missed you. > > NO_IMPLICIT_EXTERN_C is a target

Re: Deprecate not defining NO_IMPLICIT_EXTERN_C

2018-03-21 Thread Richard Earnshaw (lists)
Isn't this an OS issue rather than a general port issue. Seems to me it will depend on the system header files. With a few notable exceptions I'm not sure the port maintainers can answer this for all their target OSs. R. On 21/03/18 12:15, Nathan Sidwell wrote: > Port maintainers CC'd,

Deprecate not defining NO_IMPLICIT_EXTERN_C

2018-03-21 Thread Nathan Sidwell
Port maintainers CC'd, apologies if I've missed you. NO_IMPLICIT_EXTERN_C is a target machine define that turns off wrapping system header files in 'extern "C" { ... }'. It is the remaining non-deprecated ARM-era compatibility behaviour. Can we deprecated it? Unfortunately it's a