This is the mail archive of the gcc-prs@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++/4981: g++ 2.95.3 unterminated macro calls and strings causes crash



>Number:         4981
>Category:       c++
>Synopsis:       g++ 2.95.3 unterminated macro calls and strings causes crash
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 02 10:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alex Sisson
>Release:        unknown-1.0
>Organization:
>Environment:
2xi686 box running SuSe Linux 7.2 (kernel = 2.4.7)
>Description:
tried compiling enclosed code with:

$ g++ -o unarchive unarchive.cpp



receive following message:



unarchive.cpp:45: unterminated macro call

unarchive.cpp:65: unterminated string or character

constant

unarchive.cpp:1: possible real start of unterminated constant

cpp0: Internal compiler error in `rescan', at ../../gcc/cccp.c:3149

Please submit a full bug report.

See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.



tried making .i* files but they were zero bytes

so i have to enclose source.
>How-To-Repeat:
open the archive, compile it with

g++ -o unarchive unarchive.cpp

>Fix:
terminate your macro calls and strings
>Release-Note:
>Audit-Trail:
>Unformatted:


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