"Dr. David Kirkby" <david.kirkby@xxxxxxxxxx> writes: > A lot of bugs are often discovered in code by testing on multiple > compilers and multiple platforms. What one compiler misses, another > finds. I could point you to various cases where the Sun compiler has > rejected erroneous code that gcc has permitted. I'm sure you could no > doubt find counter examples too. > > By generating code that should build with other compilers, problems > can be detected more easily. You are looking for the -pedantic option, q.v. It is extremely unlikely that this decision about gcc's default behaviour will be changed. Ian