This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
#line directives and eb101.C
- To: egcs at cygnus dot com
- Subject: #line directives and eb101.C
- From: Robert Lipe <robertl at dgii dot com>
- Date: Wed, 8 Jul 1998 15:00:44 -0500
Brendan noticed today that eb101.C was failing becuase of the presence of
line directives in the file from where I (stupidly) preprocessed it and
blew it into that file.
# 1 "/udd/bonnaud/poubelle/sparc-egcs/include/g++/streambuf.h" 1 3
I was skeptical becuase I wasn't seeing that fail on either of the x86
native hosts I use.
Less than an hour later, I noted that Alexandre reported that test passed
on his Linux system but failed on his Sparc Solaris system. We removed
the directives and it passed.
I've just deleted those lines from that testcase and committed it, but
the question remains why some host/target combos don't mind these and
some don't accept them at all?
RJL