How do you propose we do that? Which compilers do we choose to support? Just MS and gcc? Which version(s) do you suggest we support? What do we do for the NEXT version of compiler, where it has changed some feature?
One solution would be to have a level of indirection for the compiler settings, so that you do something like:
Code:compiler = gcc
optimize_a_bit = -O2
optimize_a_lot = -O3
optimize_no_fp = -fomit-frame-pointer
debug = -g
--Code:compiler = cl
optimize_a_bit = -O1
optimize_a_lot = -Ox
optimize_no_fp = -Oy
debug = -ZI
Mats