Skip to content

Instantly share code, notes, and snippets.

@BlinkyStitt
Created November 3, 2013 21:52
Show Gist options
  • Save BlinkyStitt/7295275 to your computer and use it in GitHub Desktop.
Save BlinkyStitt/7295275 to your computer and use it in GitHub Desktop.
$ make -f makefile.osx
llvm-g++ -c -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/bwstitt/src/bitcoin/src/leveldb/include -I/Users/bwstitt/src/bitcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/Users/bwstitt/src/bitcoin/src" -I"/Users/bwstitt/src/bitcoin/src/obj" -I"/usr/local/include" -I"/usr/local/opt/berkeley-db4/include" -I"/usr/local/opt/openssl/include" -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
In file included from alert.cpp:11:
In file included from /Users/bwstitt/src/bitcoin/src/alert.h:13:
In file included from /Users/bwstitt/src/bitcoin/src/util.h:32:
In file included from /Users/bwstitt/src/bitcoin/src/netbase.h:10:
/Users/bwstitt/src/bitcoin/src/serialize.h:911:10: error: class member cannot be redeclared
void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last)
^
/Users/bwstitt/src/bitcoin/src/serialize.h:898:10: note: previous declaration is here
void insert(iterator it, const_iterator first, const_iterator last)
^
/Users/bwstitt/src/bitcoin/src/serialize.h:911:10: error: redefinition of 'insert'
void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last)
^
/Users/bwstitt/src/bitcoin/src/serialize.h:898:10: note: previous definition is here
void insert(iterator it, const_iterator first, const_iterator last)
^
2 errors generated.
make: *** [obj/alert.o] Error 1
@BlinkyStitt
Copy link
Author

this was brew lying to me and not actually using g++-4.8 and instead using a symlink to cc. Fix is on my tap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment