Which compiler is best?

In many threads, many professionals point such things like "this library is non-standered" or "this library/functios is OS dependent". Do we have any compiler which can minimize such type of issues. Although, it will reduce functionality but increase reliability of code which is more important. It will be pretty helpful for biggerenrs like me to build their concepts on standered techniques.
Libraries don't have anything to do with the compiler.
Your code will remain portable as long as you only use cross-platform libraries.
If the function is not in the C Standard Library or the C++ Standard Library, it's considered non-standard. But standards do change.

If a function is in the API of an OS and not in the standard, it's considered OS specific (such as LoadLibrary on Windows).

Do we have any compiler which can minimize such type of issues.
The compiler ought to implement the C and C++ standards. It should also make it easy to access the API of the native OS. We can ask no more of a compiler.

It will be pretty helpful for biggerenrs like me to...
Perhaps the best thing a beginner can do, in my opinion, is to stay on one environment/compiler/OS and gain some experience there first.
Topic archived. No new replies allowed.