Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile (master branch) #128

Closed
paci opened this issue Jul 25, 2013 · 1 comment
Closed

Unable to compile (master branch) #128

paci opened this issue Jul 25, 2013 · 1 comment

Comments

@paci
Copy link

paci commented Jul 25, 2013

From a fresh checkout:

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/obj/modules/ripple_basics/ripple_basics.o -c -O0 -pthread -Wno-invalid-offsetof -Wformat -DBOOST_TEST_DYN_LINK -DBOOST_FILESYSTEM_NO_DEPRECATED -g -DDEBUG -frtti -pthread -Wall -Wno-sign-compare -Wno-char-subscripts -I. -Ibuild/proto -ISubtrees -ISubtrees/leveldb -ISubtrees/leveldb/port -ISubtrees/leveldb/include -ISubtrees/beast -Isrc/cpp/ripple modules/ripple_basics/ripple_basics.cpp
In file included from modules/ripple_basics/ripple_basics.cpp:58:0:
modules/ripple_basics/containers/ripple_RangeSet.cpp: In member function 'uint32 RangeSet::getPrev(uint32) const':
modules/ripple_basics/containers/ripple_RangeSet.cpp:69:5: error: expected primary-expression before '}' token
modules/ripple_basics/containers/ripple_RangeSet.cpp:69:5: error: expected ';' before '}' token
modules/ripple_basics/containers/ripple_RangeSet.cpp: In member function 'uint32 RangeSet::prevMissing(uint32) const':
modules/ripple_basics/containers/ripple_RangeSet.cpp:86:24: error: 'RangeSetAbent' was not declared in this scope
scons: *** [build/obj/modules/ripple_basics/ripple_basics.o] Error 1
scons: building terminated because of errors.

What am I doing wrong?

(Ubuntu 12.04 LTS)

Thank you
/paci

@vinniefalco
Copy link
Contributor

I commited a fix for the compile error. I also added a unit test for prevMissing(), which seems to pass (although I had to run it manually through the debugger because the other unit tests throw an exception).

tequdev pushed a commit to tequdev/rippled that referenced this issue Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants