jncornett / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

'make' fails on HP-UX B.11.00 #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. gzip -dc gtest-1.1.0.tar.gz | tar xf -
2. ./configure
3. make

What is the expected output? What do you see instead?

source='src/gtest.cc' object='src/gtest.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/sh ./config_aux/depcomp \
        /bin/sh ./libtool --tag=CXX --mode=compile aCC -DHAVE_CONFIG_H -I.
-I. -I./config_aux  -I. -I./include   -g -c -o src/gtest.lo src/gtest.cc
 aCC -DHAVE_CONFIG_H -I. -I. -I./config_aux -I. -I./include -g -c
src/gtest.cc  +Z -DPIC -o src/.libs/gtest.o
Error 112: "./include/gtest/internal/gtest-port.h", line 213 # Include file
<sstream> not found.
    #include <sstream>  // NOLINT
             ^^^^^^^^^           
Error 419: "./include/gtest/internal/gtest-port.h", line 308 # 'std' is
used as a type, but has not been defined as a type.
    typedef ::std::stringstream StrStream;
              ^^^                         
Error 20: "./include/gtest/internal/gtest-port.h", line 308 # '<class
name>' expected before '::'.
    typedef ::std::stringstream StrStream;
                 ^^                       
Error 448: "./include/gtest/internal/gtest-port.h", line 308 # Operator
'::' must be preceded by a name of a namespace or class;
    '<type inserted by compiler>' is neither.
    typedef ::std::stringstream StrStream;
                 ^^                       
make: *** [src/gtest.lo] Error 1

What version of the product are you using? On what operating system?

Google Test: 1.1.0
Platform: HP-UX B.11.00 U 9000/800
Compiler: aCC: HP ANSI C++ B3910B A.03.52

Please provide any additional information below.

Original issue reported on code.google.com by ade...@gmail.com on 17 Nov 2008 at 10:08

GoogleCodeExporter commented 9 years ago
Many portability issues have been fixed in the trunk.  The fixes will be 
included in
1.2.0, which will be released soon.  Please re-open the issue if you still run 
into
the problem with gtest-1.2.0.  Thanks!

Original comment by shiq...@gmail.com on 26 Nov 2008 at 10:34