------- Comment #1 from burnus at gcc dot gnu dot org 2009-06-01 17:41 ------- If we can have a warning/error at compile time it would be great.
However, I'm inclined to allow it for -std=gnu at run time. (I'm personally against too much standard diagnostics at run time. If such an error appears after a lengthy calculation or if the user does not have the source code, such diagnostics are rather unfriendly. While compile-time errors are OK - they can easily worked around using -std=legacy or by changing the source code.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40319