KarlsruheGraphGeneration / KaGen

KaGen: Communication-free Massively Distributed Graph Generators
Other
35 stars 12 forks source link

Compile error on Mac/Clang: missing include #18

Closed henrixapp closed 1 year ago

henrixapp commented 1 year ago

Hi,

Following build error occurs, when building on Mac with llvm 15:

KaGen/kagen/context.cpp:404:24: error: implicit instantiation of undefined template 'std::basic_istringstream<char>'
    std::istringstream toker(options);
                       ^
/opt/homebrew/opt/llvm/bin/../include/c++/v1/iosfwd:140:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_istringstream;

This can be fixed by #include <sstream> in kagen/context.cpp.

DanielSeemaier commented 1 year ago

Thanks!