This is the mail archive of the
mailing list for the GCC project.
Re: Request for compiler option to disable multiple declarations in a single statement
On 04/19/18 14:46, David Brown wrote:
> Certainly it is heavily used in existing code - making an option
> to disable it would be impractical.
Thanks for replying, Mr. Brown.
What I meant was if an option could be provided, existing code could
compile without the option, and fresh code to compile with the switch
enabled (as per user discretion, of course - no compulsion either way
If the option garners wide recognition / usage, over a period of time
the standard pointer declaration could be fixed to everyone's happiness:
int* p; // which really is what it should be in all propriety
The current declaration style really sickens me, particularly when
trying to explain C pointers to others.