comipayan / googletest

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

Compilation of gtest-port_test fails on OpenBSD #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make distcheck

What is the expected output? What do you see instead?
creating test/gtest-port_test
depbase=`echo test/gtest_pred_impl_unittest.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`; \
if g++ -DHAVE_CONFIG_H -I. -I.. -I./build-aux  -I.. -I../include   -g -O2
-MT test/gtest_pred_impl_unittest.o -MD -MP -MF "$depbase.Tpo" -c -o
test/gtest_pred_impl_unittest.o ../test/gtest_pred_impl_unittest.cc; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT1Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:333: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT1Test_FunctorOnUserTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:341: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT1Test_FunctorOnBuiltInTypeFailure_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:369: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT1Test_FunctorOnUserTypeFailure_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:379: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   ASSERT_PRED_FORMAT1Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:405: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   ASSERT_PRED_FORMAT1Test_FunctorOnUserTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:413: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In static member function `static void 

ASSERT_PRED_FORMAT1Test_FunctorOnBuiltInTypeFailure_Test::TestBody()::GTestExpec
tFatalFailureHelper::Execute()
   ':
../test/gtest_pred_impl_unittest.cc:444: error: syntax error before `;' token
../test/gtest_pred_impl_unittest.cc: In static member function `static void 

ASSERT_PRED_FORMAT1Test_FunctorOnUserTypeFailure_Test::TestBody()::GTestExpectFa
talFailureHelper::Execute()
   ':
../test/gtest_pred_impl_unittest.cc:455: error: syntax error before `;' token
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT2Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:749: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT2Test_FunctorOnUserTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:758: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT2Test_FunctorOnBuiltInTypeFailure_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:789: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT2Test_FunctorOnUserTypeFailure_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:800: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   ASSERT_PRED_FORMAT2Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:829: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   ASSERT_PRED_FORMAT2Test_FunctorOnUserTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:838: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In static member function `static void 

ASSERT_PRED_FORMAT2Test_FunctorOnBuiltInTypeFailure_Test::TestBody()::GTestExpec
tFatalFailureHelper::Execute()
   ':
../test/gtest_pred_impl_unittest.cc:872: error: syntax error before `;' token
../test/gtest_pred_impl_unittest.cc: In static member function `static void 

ASSERT_PRED_FORMAT2Test_FunctorOnUserTypeFailure_Test::TestBody()::GTestExpectFa
talFailureHelper::Execute()
   ':
../test/gtest_pred_impl_unittest.cc:884: error: syntax error before `;' token
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT3Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1207: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT3Test_FunctorOnUserTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1217: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT3Test_FunctorOnBuiltInTypeFailure_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1251: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT3Test_FunctorOnUserTypeFailure_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1263: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   ASSERT_PRED_FORMAT3Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1295: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   ASSERT_PRED_FORMAT3Test_FunctorOnUserTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1305: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In static member function `static void 

ASSERT_PRED_FORMAT3Test_FunctorOnBuiltInTypeFailure_Test::TestBody()::GTestExpec
tFatalFailureHelper::Execute()
   ':
../test/gtest_pred_impl_unittest.cc:1342: error: syntax error before `;' token
../test/gtest_pred_impl_unittest.cc: In static member function `static void 

ASSERT_PRED_FORMAT3Test_FunctorOnUserTypeFailure_Test::TestBody()::GTestExpectFa
talFailureHelper::Execute()
   ':
../test/gtest_pred_impl_unittest.cc:1355: error: syntax error before `;' token
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT4Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1707: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT4Test_FunctorOnUserTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1718: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT4Test_FunctorOnBuiltInTypeFailure_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1755: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT4Test_FunctorOnUserTypeFailure_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1768: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   ASSERT_PRED_FORMAT4Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1803: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   ASSERT_PRED_FORMAT4Test_FunctorOnUserTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:1814: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In static member function `static void 

ASSERT_PRED_FORMAT4Test_FunctorOnBuiltInTypeFailure_Test::TestBody()::GTestExpec
tFatalFailureHelper::Execute()
   ':
../test/gtest_pred_impl_unittest.cc:1854: error: syntax error before `;' token
../test/gtest_pred_impl_unittest.cc: In static member function `static void 

ASSERT_PRED_FORMAT4Test_FunctorOnUserTypeFailure_Test::TestBody()::GTestExpectFa
talFailureHelper::Execute()
   ':
../test/gtest_pred_impl_unittest.cc:1868: error: syntax error before `;' token
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT5Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:2249: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT5Test_FunctorOnUserTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:2261: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT5Test_FunctorOnBuiltInTypeFailure_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:2301: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   EXPECT_PRED_FORMAT5Test_FunctorOnUserTypeFailure_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:2315: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   ASSERT_PRED_FORMAT5Test_FunctorOnBuiltInTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:2353: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In member function `virtual void 
   ASSERT_PRED_FORMAT5Test_FunctorOnUserTypeSuccess_Test::TestBody()':
../test/gtest_pred_impl_unittest.cc:2365: error: syntax error before string 
   constant
../test/gtest_pred_impl_unittest.cc: In static member function `static void 

ASSERT_PRED_FORMAT5Test_FunctorOnBuiltInTypeFailure_Test::TestBody()::GTestExpec
tFatalFailureHelper::Execute()
   ':
../test/gtest_pred_impl_unittest.cc:2408: error: syntax error before `;' token
../test/gtest_pred_impl_unittest.cc: In static member function `static void 

ASSERT_PRED_FORMAT5Test_FunctorOnUserTypeFailure_Test::TestBody()::GTestExpectFa
talFailureHelper::Execute()
   ':
../test/gtest_pred_impl_unittest.cc:2423: error: syntax error before `;' token
gmake[2]: *** [test/gtest_pred_impl_unittest.o] Error 1

What version of the product are you using? On what operating system?
OpenBSD 4.0 GENERIC#1107 i386
g++ (GCC) 3.3.5 (propolice)

Found in tags/release-1.2.1

Please provide any additional information below.
None ATM.

Original issue reported on code.google.com by tsuna...@gmail.com on 11 Dec 2008 at 5:47

GoogleCodeExporter commented 9 years ago
gtest_pred_impl_unittest and gtest_unittest fails to complile in the same way.  
All
the other tests compiled (with the exception of the other problem listed in 
issue #81)

Original comment by tsuna...@gmail.com on 11 Dec 2008 at 5:52

GoogleCodeExporter commented 9 years ago

Original comment by shiq...@gmail.com on 16 Dec 2008 at 4:22

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 22 Feb 2009 at 5:50

GoogleCodeExporter commented 9 years ago
Changed priority to low since no one is interesting in working on it and no 
user has
been complaining.

Original comment by w...@google.com on 10 Dec 2009 at 6:09

GoogleCodeExporter commented 9 years ago
Not worth it.

Original comment by w...@google.com on 6 Mar 2010 at 6:06