[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SEGV running tests on IRIX 6.5.19m
From: |
Albert Chin |
Subject: |
Re: SEGV running tests on IRIX 6.5.19m |
Date: |
Sat, 29 May 2004 15:17:59 -0500 |
User-agent: |
Mutt/1.5.6i |
On Sat, May 29, 2004 at 12:25:31AM -0700, Paul Eggert wrote:
> address@hidden (Albert Chin-A-Young) writes:
>
> > Can we do something better with the following in local.at to work
> > around passing possibly invalid options to the C++ compiler:
>
> Yes, I think so. To address that problem I installed the patch
> referenced below into CVS; it should be in the next version.
>
> http://lists.gnu.org/archive/html/bug-bison/2004-05/msg00027.html
Ok, this makes all tests for the IRIX C++ compiler work. However, the
C++ tests still fail on Tru64 UNIX. The first problem is that the
Tru64 UNIX C++ compiler infers C/C++ by the file extension. So:
$ cxx input.c -o input
will be compiled by the C compiler. How do we change C++ filenames to
input.cc or input.cpp?
That said, if I manually compile input.cc with the no special C++
options, I get:
$ cxx -msym -readonly_strings -DHAVE_CONFIG_H=1
-I/opt/build/bison-1.875d/tests/../. -I/opt/TWWfsw/libiconv18/include
-I/opt/TWWfsw/gettext011/include input.cc -o input
cxx: Error: position.hh, line 121: namespace "std" has no member "ostream"
inline std::ostream&
--------------^
cxx: Error: position.hh, line 122: namespace "std" has no member "ostream"
operator<< (std::ostream& ostr, const Position& pos)
-------------------^
cxx: Error: location.hh, line 110: namespace "std" has no member "ostream"
inline std::ostream& operator<< (std::ostream& ostr, const Location& loc)
--------------^
cxx: Error: location.hh, line 110: namespace "std" has no member "ostream"
inline std::ostream& operator<< (std::ostream& ostr, const Location& loc)
----------------------------------------^
cxx: Error: input.h, line 216: namespace "std" has no member "ostream"
std::ostream &cdebug_;
---------^
cxx: Error: input.h, line 132: namespace "std" has no member "cerr"
cdebug_ (std::cerr),
--------------------^
Compiling with "-std strict_ansi" gets input.cc to build.
--
albert chin (address@hidden)
- SEGV running tests on IRIX 6.5.19m, Albert Chin-A-Young, 2004/05/24
- Re: SEGV running tests on IRIX 6.5.19m, Paul Eggert, 2004/05/25
- Re: SEGV running tests on IRIX 6.5.19m, Albert Chin-A-Young, 2004/05/25
- Re: SEGV running tests on IRIX 6.5.19m, Paul Eggert, 2004/05/27
- Re: SEGV running tests on IRIX 6.5.19m, Albert Chin-A-Young, 2004/05/27
- Re: SEGV running tests on IRIX 6.5.19m, Paul Eggert, 2004/05/29
- Re: SEGV running tests on IRIX 6.5.19m,
Albert Chin <=
- Re: SEGV running tests on IRIX 6.5.19m, Paul Eggert, 2004/05/29
- Re: SEGV running tests on IRIX 6.5.19m, Albert Chin, 2004/05/30
- Re: SEGV running tests on IRIX 6.5.19m, Paul Eggert, 2004/05/30
- Re: SEGV running tests on IRIX 6.5.19m, Albert Chin, 2004/05/30