Reputation: 106530
I've got a section of code inside which I don't care about portability. It's Win32 API ridden code anyway; it serves to suck information out of the OS (which of course requires some form of OS specific API). I'm not intending to ever support things like MinGW either, because such compilers don't implement huge portions of the Windows API (in particular, things like COM stuff).
I therefore don't care about portability for this section, and would be interested in using libraries or language extensions provided by my compiler (currently, MSVC++).
Are there any such listings available for MSVC++ on Windows and GCC on Linux, for example?
Upvotes: 1
Views: 89
Reputation: 88711
I found this list of Unix system calls and which standard(s) they belong to very helpful a while back when I was trying to write some fairly conservative and portable C. That sounds like what you're looking for from the comments.
GCC has a list of C extensions, many of which can be used in C++ code with GCC too. There's also a list of the C++ extensions in GCC. Clang has a similar list also.
Upvotes: 1