Use of C99 features

Robert J. Hansen rjh at sixdemonbag.org
Wed Oct 28 17:50:00 CET 2015


> Please keep in mind that C and C++ are two different languages - there
> are subtle difference and thus using a C++ compiler for C code may work
> but is not suggested.

Yes and no.  Bjarne Stroustrup himself has declared that every program
in K&R's _The C Programming Language_ is a valid, well-formed C++
program.  They are definitely different languages, but most sane C90
code will compile without complaint in C++.

Of course, there's a lot of pretty insane C out there.



More information about the Gnupg-devel mailing list