My current project build can be done using 3 compilers namely ICL, VC10 and VC05. Every compilation needs its set of pragmas in header/source files. Is there any way to select them conditionaly based on what compiler I specify in my build.
I faintly remember that I have used compiler attributes to do this. But I also dont want compiler to give any error if it does not understand other compilers attributes.