c++/441: g++ needs to define _LANGUAGE_C_PLUS_PLUS on IRIX 6.2
buffalo@the7lg.de
buffalo@the7lg.de
Wed Aug 2 00:16:00 GMT 2000
>Number: 441
>Category: c++
>Synopsis: g++ needs to define _LANGUAGE_C_PLUS_PLUS on IRIX 6.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 02 00:16:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: buffalo@the7lg.de
>Release: gcc-2.95.2
>Organization:
>Environment:
IRIX 6.2
>Description:
g++ does not automaticaly defines _LANGUAGE_C_PLUS_PLUS
which is needed to make IRIX include files work propperly.
It defines __LANGUAGE_C_PLUS_PLUS but IRIX needs only
one underscore.
>How-To-Repeat:
Just compile the attached file on IRIX 6.2 with gcc-2.95.2
# g++ -o sigbug sigbug.cpp
>Fix:
Run g++ with -D_LANGUAGE_C_PLUS_PLUS
or add -D_LANGUAGE_C_PLUSPLUS to the *cpp section in
the specs file
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="sigbug.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="sigbug.cpp"
I2luY2x1ZGUgPHNpZ25hbC5oPgpjbGFzcyBzaWdidWcgewpwdWJsaWM6CglzaWdidWcoKXt9OwoJ
fnNpZ2J1Zygpe307CglzdGF0aWMgdm9pZCBzaWdoYW5kbGVyKCBpbnQgYSApIHsKCX07CglzdGF0
aWMgdm9pZCBzaG93YnVnKCkgewoJCXNpZ25hbCggU0lHSU5ULCAmc2lnaGFuZGxlciApOwoJfTsK
fTsKdm9pZCBtYWluKCkgewoJc2lnYnVnIGE7CglhLnNob3didWcoKTsKfQo=
More information about the Gcc-prs
mailing list