springning / googlemock

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

Building fails on r477 #167

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
$ cat 
/Library/Caches/Homebrew/zmqcpp--git/ThirdParty/src/googlemock-stamp/googlemock-
build-err.log

In file included from 
/Library/Caches/Homebrew/zmqcpp--git/ThirdParty/src/googlemock/src/gmock-all.cc:
40:
In file included from 
/Library/Caches/Homebrew/zmqcpp--git/ThirdParty/src/googlemock/include/gmock/gmo
ck.h:58:
In file included from 
/Library/Caches/Homebrew/zmqcpp--git/ThirdParty/src/googlemock/include/gmock/gmo
ck-actions.h:46:
/Library/Caches/Homebrew/zmqcpp--git/ThirdParty/src/googlemock/include/gmock/int
ernal/gmock-internal-utils.h:453:27: error: use of undeclared identifier 
'RelationToSourceReference'
    return type(array, N, RelationToSourceReference());
                          ^
/Library/Caches/Homebrew/zmqcpp--git/ThirdParty/src/googlemock/include/gmock/int
ernal/gmock-internal-utils.h:460:27: error: use of undeclared identifier 
'RelationToSourceCopy'
    return type(array, N, RelationToSourceCopy());
                          ^
/Library/Caches/Homebrew/zmqcpp--git/ThirdParty/src/googlemock/include/gmock/int
ernal/gmock-internal-utils.h:477:47: error: use of undeclared identifier 
'RelationToSourceReference'
    return type(get<0>(array), get<1>(array), RelationToSourceReference());
                                              ^
/Library/Caches/Homebrew/zmqcpp--git/ThirdParty/src/googlemock/include/gmock/int
ernal/gmock-internal-utils.h:480:47: error: use of undeclared identifier 
'RelationToSourceCopy'
    return type(get<0>(array), get<1>(array), RelationToSourceCopy());
                                              ^
4 errors generated.
make[5]: *** [CMakeFiles/gmock.dir/src/gmock-all.cc.o] Error 1
make[4]: *** [CMakeFiles/gmock.dir/all] Error 2
make[3]: *** [all] Error 2

Original issue reported on code.google.com by Octavius@gmail.com on 16 Jun 2014 at 2:56

GoogleCodeExporter commented 9 years ago
This happens on a fresh SVN checkout of googlemock also:

$ cd /tmp
$ svn checkout http://googlemock.googlecode.com/svn/trunk/ googlemock-read-only
$ cd googlemock-read-only
$ make
[ 14%] Building CXX object CMakeFiles/gmock.dir/src/gmock-all.cc.o
In file included from /tmp/googlemock-read-only/src/gmock-all.cc:40:
In file included from /tmp/googlemock-read-only/include/gmock/gmock.h:58:
In file included from 
/tmp/googlemock-read-only/include/gmock/gmock-actions.h:46:
/tmp/googlemock-read-only/include/gmock/internal/gmock-internal-utils.h:453:27: 
error: use of undeclared identifier 'RelationToSourceReference'
    return type(array, N, RelationToSourceReference());
                          ^
/tmp/googlemock-read-only/include/gmock/internal/gmock-internal-utils.h:460:27: 
error: use of undeclared identifier 'RelationToSourceCopy'
    return type(array, N, RelationToSourceCopy());
                          ^
/tmp/googlemock-read-only/include/gmock/internal/gmock-internal-utils.h:477:47: 
error: use of undeclared identifier 'RelationToSourceReference'
    return type(get<0>(array), get<1>(array), RelationToSourceReference());
                                              ^
/tmp/googlemock-read-only/include/gmock/internal/gmock-internal-utils.h:480:47: 
error: use of undeclared identifier 'RelationToSourceCopy'
    return type(get<0>(array), get<1>(array), RelationToSourceCopy());
                                              ^
4 errors generated.
make[2]: *** [CMakeFiles/gmock.dir/src/gmock-all.cc.o] Error 1
make[1]: *** [CMakeFiles/gmock.dir/all] Error 2
make: *** [all] Error 2

Original comment by Octavius@gmail.com on 16 Jun 2014 at 2:57