View Single Post
Old 08 September 2014, 05:41   #14
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,651
OK, "mostly useless" is an exaggeration, but I've never missed any of it except long long. But anyway, if the C compiler doesn't support it then it can't be used, so I avoid using those extensions. Perhaps I should write some header files to enable SAS/C to support snprintf(), stdint.h, etc. or has someone already done this?

>How can any code that you write today in C99 break backwards compatibility?

The auto keyword was redefined in a non-compatible way for C++ 11. However, researching further, that seems to only apply to C++, not C. (The two seem to be diverging in different directions, which is odd because one of the main advantages of C++ was supposed to be that it was a superset of C, which is becoming less true.)
Minuous is offline  
 
Page generated in 0.04596 seconds with 11 queries