Re: [dev] Coding style: why /* */ and not //?

From: k0ga <>
Date: Thu, 10 Jan 2019 19:30:41 +0000

> > The only issue I see with c99 code is that some of the compilers
> > appear to be behind the times on c. Any reason why we wouldn???t want
> > to use a newer c feature other than compatibility?
> it's always about weighing convenience against freedom. Modern language
> standards have picked up pace, comparable to web standards. By
> voluntarily staying with a relatively simple, older version (like C99)
> you don't "invest" into a new language that might turn out to be a
> tough dependency in the long run. Do we really want to solely depend on
> GCC And LLVM/Clang by using C11?

C11 is not POSIX. Posix only recognice the tool c99. Older versions
of the standard, c89. If you use cc, gcc ot c89 in current POSIX
systems your code is not portable.

If you don't agree, you can send a request to the POSIX commitee.
Until that point, you will continue using c99 and following the
POSIX standard.

Best regards,
Received on Thu Jan 10 2019 - 20:30:41 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 10 2019 - 20:36:07 CET