We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Chaiscript 6.1.0 (from vcpkg)
It compiles
gcc crashes with internal compiler error as soon as some Optimization Flag is given
main.cpp:
#include <chaiscript/chaiscript.hpp> int main(int argc, char* argv[]) { chaiscript::ChaiScript chai; }
compile with: g++ -I_path to chaiscriptinclude_ main.cpp -std=c++17 -DNDEBUG -fPIC -O3
/home/qs-master/vcpkg/installed/x64-linux/include/chaiscript/dispatchkit/bootstrap.hpp: In substitution of 'template<class T, class Q> chaiscript::Proxy_Function chaiscript::fun(T&&, const Q&) [with T = <missing>; Q = <missing>]': /home/qs-master/vcpkg/installed/x64-linux/include/chaiscript/dispatchkit/bootstrap.hpp:148:16: required from 'void chaiscript::bootstrap::bootstrap_pod_type(const string&, chaiscript::Module&) [with T = double; std::string = std::__cxx11::basic_string<char>]' /home/qs-master/vcpkg/installed/x64-linux/include/chaiscript/dispatchkit/bootstrap.hpp:470:47: required from here /home/qs-master/vcpkg/installed/x64-linux/include/chaiscript/dispatchkit/bootstrap.hpp:148:16: internal compiler error: Segmentation fault 148 | m.add(fun(&parse_string<T>), "to_" + name); | ~~~^~~~~~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Chaiscript 6.1.0 (from vcpkg)
Expected Behavior
It compiles
Actual Behavior
gcc crashes with internal compiler error as soon as some Optimization Flag is given
Minimal Example to Reproduce Behavior
main.cpp:
#include <chaiscript/chaiscript.hpp>
int main(int argc, char* argv[])
{
chaiscript::ChaiScript chai;
}
compile with:
g++ -I_path to chaiscriptinclude_ main.cpp -std=c++17 -DNDEBUG -fPIC -O3
The text was updated successfully, but these errors were encountered: