c++ - How to check the compiler settings are correct or not in windows? -


i need check weather compiler has correct settings or not , purpose using cpp unit test cases , verifying settings correct or not.compiler settings concerned e.g 64 bit compiler 64 bit code exist , 32 bit compiler 32 bit code exists should not code supposed have 64bit compiler , executed on 32 bit compiler , if happens,a cpp unit test case shall check , fail. there can other condition version of compiler needs , code opened on different compiler version , cppunit test case shall fail. idea if in case of compiler related failure 1 should know , more clearity issue. @ runtime code not executed throwing errors e.g

the application unable start correctly (0xc000007b).  

its because code actualy has executed 64 bit configurations , executed 32 bit configurations in such case there shall test case checking configurations , hence fail , user have ease know actualy went wrong such errors @ runtime quite pain analyze , resolve. so, whole idea make ease in getting knowing runtime error caused when there compiler settings related issues . so, please provide me suggestions regarding problem. platform windows only.


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -