------- Comment #8 from ben at decadentplace dot org dot uk 2006-06-30 17:48 ------- The standard says in 7.5/5: "If two declarations of the same function or object specify different linkage-specifications [...] the program is ill-formed if the declarations appear in the same translation unit [...]". That is why code like that in comment 6 is now rejected.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27227