Answer to Question #37735 in C++ for Rahul Sarma
Question #37735
Hi, just wanted to know are there header files specific to certain compilers? E.g a header file which may be supported by lets say GCC commpiler but not devc++ compiler? If so, how do I find these "compiler-specific" header files?
Expert's answer
Everything depends on the novelty of the compiler. The older compiler, the less support.
For example:
Headers designed for CygWin compiler GCC. Adapt them for MSVC is possible, but it is a long and thankless occupation. CygWin and GCC intended to compile the C language, and MSVC for C + +, since in addition to the MSVC GCC has g + + compiler.
So you can find the header files are written only for the language C + + compilers, on CygWin and GCC they may not be compatible.
For example:
Headers designed for CygWin compiler GCC. Adapt them for MSVC is possible, but it is a long and thankless occupation. CygWin and GCC intended to compile the C language, and MSVC for C + +, since in addition to the MSVC GCC has g + + compiler.
So you can find the header files are written only for the language C + + compilers, on CygWin and GCC they may not be compatible.
Need a fast expert's response?
Submit orderand get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment