Qian Xu Wrote: > Release and Debug are two configuration sets. > > FEATURE | DEBUG | RELEASE > ---------------+-------+--------- > assertion | | > ---------------+-------+--------- > invariant | | > ---------------+-------+--------- > debug symbols | | > ---------------+-------+--------- > optimization | | > ---------------+-------+--------- > inline | | > ---------------+-------+--------- > more... | | > > > It is also inconvient to switch "invariant" (or debug features) with a > universal "-release" flag.
No. They're not as universal as you think. -release disables invariant, array bounds checking, etc... -debug enables debug statements -inline enables inlining -O performs optimizations -g enables debug symbols -unittest enables unit tests These posts should be on d.learn...
