This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/11204] New: Link error when invoking non-implicit c'tor by hand


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11204

           Summary: Link error when invoking non-implicit c'tor by hand
           Product: gcc
           Version: 3.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: meinlschmidt@informatik.uni-erlangen.de
                CC: gcc-bugs@gcc.gnu.org

// gcc -DBUG hitTheBug.C gives: 
// undefined reference to `__gxx_personality_v0' 
// with gcc 3.2.2 and gcc 3.3, 
// but not with gcc 2.95.3 and SGI CC. 
// gcc hitTheBug.C (without -DBUG) works OK 
 
class Foo { 
public: 
#ifdef BUG 
  Foo() {} 
#endif 
}; 
 
void thud(const Foo &f) {} 
 
main() 
{ 
  thud(Foo()); 
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]