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

compilation error on g++ (Debian 4.8.2-16) 4.8.2 or g++ (Debian 4.9-20140303-1) 4.9.0 20140304 (experimental) [trunk revision 208299] #16

Open
hg42 opened this issue Mar 16, 2014 · 0 comments

Comments

@hg42
Copy link

hg42 commented Mar 16, 2014

compiling with g++ 4.8.2-16 fails (see log below).
Exactly the same output for g++ 4.9-20140303-1.
Using 4.7 works (for this I had to downgrade g++ and g++-multilib to 4.7).

Operating system: [linux2]
 ** CPPUNIT version checK: ii  libcppunit-dev                1.13.1-2            amd64               Unit Testing Library for C++
Loading MakerBot install tool
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: obj
g++ -o obj/src/miracle_grue/get_slice.o -c -Wall -Wextra -O2 -DMB_VERSION_STR=\"9.9.9\" -Iobj/src -Iobj/src/mgl -I/usr/include -Iobj/submodule/EzCppLog -Iobj/submodule/optionparser/src -Iobj/src/eigen obj/src/miracle_grue/get_slice.cc
In file included from obj/src/mgl/loop_path.h:5:0,
                 from obj/src/mgl/segment.h:24,
                 from obj/src/mgl/grid.h:18,
                 from obj/src/mgl/slicer.h:16,
                 from obj/src/mgl/regioner.h:18,
                 from obj/src/mgl/pather.h:18,
                 from obj/src/mgl/gcoder.h:19,
                 from obj/src/mgl/miracle.h:15,
                 from obj/src/miracle_grue/get_slice.cc:22:
obj/src/mgl/loop_path_iter_impl.h: In member function ‘mgl::LoopPath::iterator_gen<BASE>& mgl::LoopPath::iterator_gen<BASE>::operator--()’:
obj/src/mgl/loop_path_iter_impl.h:306:14: error: cannot call member function ‘mgl::LoopPath::iterator mgl::LoopPath::end()’ without object
   base = end();
              ^
scons: *** [obj/src/miracle_grue/get_slice.o] Error 1
scons: building terminated because of errors.
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

1 participant