Why is C90 enforced in KDE?

Thomas Lübking thomas.luebking at gmail.com
Sun Dec 6 21:59:19 GMT 2015


On Sonntag, 6. Dezember 2015 17:41:07 CEST, Nicolás Alvarez wrote:
> Then we ignore warnings about // comments and pay attention
> to others

Wtf does flex/yacc produce incompliant comments?
Seriously, COMMENTS!
That's a convenience thing.

int foo = bar; // bar defined in wherever

is simpler than

int foo = bar; /* bar defined in wherever */

but a code generator isn't lazy.
There must be a way to avoid that?

Otherwise one might convince them to create cpp/cxx suffixes so that compilers will invoke the C++ compiler?

Cheers,
Thomas




More information about the kde-core-devel mailing list