I usually write C code in C89, now some C99 functions (for example, intxx_t or __VA_ARGS__ or snprintf ) are very useful and can even be vital.
Before I became more of my requirement from C89 to C99, I wanted to know which of the C99 functions were widely supported and which of them were not widely used or even considered harmful.
I know that we could just test our support for the target compiler, but that will significantly reduce our support, and since this is for open source software, I would rather have more support.
For example, we use the Solaris compiler (suncc) and gcc, but there may be another compiler that we would go out of the way while we could maintain compatibility with very little effort.
For example, I never worked on Windows and knew nothing about Windows compilers, but it would be nice to maintain compatibility with Windows.
c compiler-construction c99 c89
Nicolas Goy Dec 14 '09 at 4:17 2009-12-14 04:17
source share