wangzhangup / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

make: *** [logging_unittest-logging_unittest.o] Error 1 #220

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure
2. make
3.

What is the expected output? What do you see instead?
.
.
.
In file included from src/glog/logging.h:85:0,
                 from src/utilities.h:82,
                 from src/logging_unittest.cc:33:
/usr/local/include/gflags/gflags.h:277:23: note:   ‘gflags::FlagSaver’
 class GFLAGS_DLL_DECL FlagSaver {
                       ^
In file included from src/logging_unittest.cc:58:0:
src/googletest.h:177:35: error: expected ‘;’ before ‘fs’
     static void Run() { FlagSaver fs; RunTest(); }      \
                                   ^
src/logging_unittest.cc:1206:1: note: in expansion of macro ‘TEST’
 TEST(UserDefinedClass, logging) {
 ^
make: *** [logging_unittest-logging_unittest.o] Error 1

What version of the product are you using? On what operating system?
glog-0.3.3 & Ubuntu 14.04 32 bits

Original issue reported on code.google.com by mgv.0...@gmail.com on 28 Aug 2014 at 2:50