Answer by supercat for Compatibility of C89/C90, C99 and C11
In most ways, the later versions are supersets of earlier versions. While C89 code which tries to use restrict as an identifier will be broken by C99's addition of a reserved word with the same...
View ArticleAnswer by Lundin for Compatibility of C89/C90, C99 and C11
Are the newer versions of C i.e. C99, C11 supersets of older C versions?There are many differences, big and subtle both. Most changes were adding of new features and libraries. C99 and C11 are not...
View ArticleAnswer by jxh for Compatibility of C89/C90, C99 and C11
The newer versions of C are definitely not strict super-sets of the older versions.Generally speaking, this sort of problem only arises when upgrading the compiler or switching compiler vendors. You...
View ArticleAnswer by Paul Stelian for Compatibility of C89/C90, C99 and C11
In general, newer versions of the standard are backward compatible.If not, you can compile different .c files to different .o files, using different standards, and link them together. That does...
View ArticleCompatibility of C89/C90, C99 and C11
I just read: C Wikipedia entry. As far as I know there are 3 different versions of C that are widely used: C89, C99 and C11. My question concerns the compatibility of source code of different versions....
View Article