------- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-16 00:12 ------- extern int &i; is valid though. Note in C, int i; is a tentative definition while in C++, there is no such thing as a tentative definition so it is normal definition and therefor since it is a reference type variable, it has to be initialized.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38517