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]

c++/7408: GCC prints a strange message on the legal code


>Number:         7408
>Category:       c++
>Synopsis:       GCC prints a strange message on the legal code
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 25 10:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Shandar
>Release:        3.1.1 20020718 (prerelease)
>Organization:
>Environment:
Windows 2000, cygwin
>Description:
/cygdrive/c/DOCUME~1/.../LOCALS~1/Temp/ccgArXpr.o(.eh_frame+0x11):ns_tmp.cpp:
 undefined reference to `___gxx_personality_v0'
collect2: ld returned 1 exit status
>How-To-Repeat:
template<class T> void F(T x)
{
}

int main(void)
{
	F(3);
	return 0;
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="tmp_3_1_1.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="tmp_3_1_1.cpp"

dGVtcGxhdGU8Y2xhc3MgVD4gdm9pZCBGKFQgeCkNCnsNCn0NCg0KaW50IG1haW4odm9pZCkNCnsN
CglGKDMpOw0KCXJldHVybiAwOw0KfQ0KDQovKg0KZ2NjIHZlcnNpb24gMy4xLjEgMjAwMjA3MTgg
KHByZXJlbGVhc2UpDQoNCmdjYyB0bXAuY3BwDQoNCi9jeWdkcml2ZS9jL0RPQ1VNRX4xLy4uLi9M
T0NBTFN+MS9UZW1wL2NjZ0FyWHByLm8oLmVoX2ZyYW1lKzB4MTEpOm5zX3RtcC5jcHA6DQogdW5k
ZWZpbmVkIHJlZmVyZW5jZSB0byBgX19fZ3h4X3BlcnNvbmFsaXR5X3YwJw0KY29sbGVjdDI6IGxk
IHJldHVybmVkIDEgZXhpdCBzdGF0dXMNCiovDQo=


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