Is anyone still using ANSI C or other pre-C99 versions?

8 views
Skip to first unread message

Petteri Aimonen

unread,
Nov 17, 2025, 6:23:46 AMNov 17
to nanopb
Hi all,

Previously nanopb has supported classic ANSI C89 compilers.
Most important restrictions it places on the code are:
  • Comments must be /* */ not //
  • Variables must be declared at beginning of function
  • Inline function specifier is not supported
In development of version 1.0.0 of nanopb, I've begun to wonder if it is worth keeping this compatibility. It would simplify to use C99.

Any thoughts? Anyone whose compiler doesn't do C99?

--
Petteri
Reply all
Reply to author
Forward
0 new messages