Skip to content

Compilation error #3

@peterbjorgensen

Description

@peterbjorgensen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions