When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.
26 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.
programs written for C99 can almost always compile as C11
programs that use new features from C11 cannot compile as C99, but arguably the only completely new feature is _Generic
anonymous struct/union members were already a widely-used gcc extension before C11
thanks for the explanation

wait so
new feature is _generic, but otherwise it would be able to compile?
almost every C11 program that doesn't use _Generic is also a C99 program
and almost every C99 program is also a C11 program
there are a few dark corners, but unless you're doing something REALLY weird, most programs written in one work with the other
ah ok
so if im correct
any or (most) programs written in c99 standard will compile on the c11 compiler
and this is the same for any program written in c11 will compile on the c99 compiler?
C11 is basically C99 with some extra features
oh cool
and those features don't come up much
C11 has features that didn't exist in C99
if you use alignas, alignof, or generic, then your code won't compile under C99
i still dont rlly get it
damn blocked 
This question thread is being automatically marked as solved.