-
Notifications
You must be signed in to change notification settings - Fork 10
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 #3
Comments
Hi, gcc switched to a new standard - I tried a quick fix for that specific
line so please try to pull. if that does not work, try to add
-std=c++03
to the compiler options in make.in
…On 3 January 2017 at 15:54, peder2tm ***@***.***> wrote:
Using "g++ (GCC) 6.2.1 20160830" as compiler I get the following error
when using "make":
make -C libs all
make[1]: Entering directory '/home/peter/kodesjov/sketchmap/libs'
g++ -g -O3 -ftracer -floop-optimize -funroll-loops -D_IBM -I../libs/ -c -o libfmblas.o libfmblas.cpp
In file included from matrices.hpp:10:0,
from matrix-full.hpp:11,
from matrix-full-blas.hpp:11,
from libfmblas.cpp:7:
ioparser.hpp: In member function ‘virtual bool toolbox::IFBase::operator>>(std::__cxx11::string&) const’:
ioparser.hpp:103:103: error: cannot convert ‘std::ostream {aka std::basic_ostream<char>}’ to ‘bool’ in initialization
virtual bool operator>> (std::string& str) const { std::ostringstream os; bool rval=(os << (*this)); str=os.str(); return rval; }
^
make[1]: *** [<builtin>: libfmblas.o] Error 1
make[1]: Leaving directory '/home/peter/kodesjov/sketchmap/libs'
make: *** [Makefile:9: libs] Error 2
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABESZyzDVLtsnvL7h0J5keAgtJ7BOV-wks5rOmESgaJpZM4LZsEa>
.
|
there are other lines where there are complaints -- I fixed them all,
trying to push now.
On Tue, Jan 3, 2017 at 3:26 PM, Michele Ceriotti <[email protected]>
wrote:
… Hi, gcc switched to a new standard - I tried a quick fix for that specific
line so please try to pull. if that does not work, try to add
-std=c++03
to the compiler options in make.in
On 3 January 2017 at 15:54, peder2tm ***@***.***> wrote:
> Using "g++ (GCC) 6.2.1 20160830" as compiler I get the following error
> when using "make":
>
> make -C libs all
> make[1]: Entering directory '/home/peter/kodesjov/sketchmap/libs'
> g++ -g -O3 -ftracer -floop-optimize -funroll-loops -D_IBM -I../libs/ -c
-o libfmblas.o libfmblas.cpp
> In file included from matrices.hpp:10:0,
> from matrix-full.hpp:11,
> from matrix-full-blas.hpp:11,
> from libfmblas.cpp:7:
> ioparser.hpp: In member function ‘virtual bool
toolbox::IFBase::operator>>(std::__cxx11::string&) const’:
> ioparser.hpp:103:103: error: cannot convert ‘std::ostream {aka
std::basic_ostream<char>}’ to ‘bool’ in initialization
> virtual bool operator>> (std::string& str) const { std::ostringstream
os; bool rval=(os << (*this)); str=os.str(); return rval; }
> ^
> make[1]: *** [<builtin>: libfmblas.o] Error 1
> make[1]: Leaving directory '/home/peter/kodesjov/sketchmap/libs'
> make: *** [Makefile:9: libs] Error 2
>
> Thanks
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#3>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/
ABESZyzDVLtsnvL7h0J5keAgtJ7BOV-wks5rOmESgaJpZM4LZsEa>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGbkQq3FLmCoq188SWvr5aEK2ec5BR2Yks5rOoThgaJpZM4LZsEa>
.
|
Thanks. Now I got a bunch of new compilation errors saying that the abs function is ambiguous.
|
hi guys, I am running into the same issue with ambiguous abs(), using compiler g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 It worked fine with g++ 4.9 (the previous one I tried)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using "g++ (GCC) 6.2.1 20160830" as compiler I get the following error when using "make":
Thanks
The text was updated successfully, but these errors were encountered: