"Giovanni Bajo" <giovannibajo@libero.it> writes: > GCC is incorrectly accepting the first line. It should whine about the > spourious const but it does not, and silently ignores it. Thanks for the explanation. It now makes sense to me. I filed PR c++/13542 about the missing error. Ian