You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling chuck on WSL (ubuntu with g++ 11.4.0) I get the compiler warnings:
In member function ‘const char* Chuck_Type::c_name()’,
inlined from ‘long unsigned int Chuck_Op_Registry::add_overload(Chuck_Type*, ae_Operator, Chuck_Type*, Chuck_Func*, ckte_Origin, const string&, long int, long unsigned int)’ at chuck_type.cpp:10780:22,
inlined from ‘long unsigned int Chuck_Op_Registry::add_overload(Chuck_Type*, ae_Operator, Chuck_Func*, ckte_Origin, const string&, long int, long unsigned int)’ at chuck_type.cpp:10829:30:
chuck_type.cpp:9717:16: warning: ‘this’ pointer is null [-Wnonnull]
9717 | return name().c_str();
| ~~~~^~
chuck_type.cpp: In member function ‘long unsigned int Chuck_Op_Registry::add_overload(Chuck_Type*, ae_Operator, Chuck_Func*, ckte_Origin, const string&, long int, long unsigned int)’:
chuck_type.cpp:9697:21: note: in a call to non-static member function ‘const string& Chuck_Type::name()’
9697 | const std::string & Chuck_Type::name()
| ^~~~~~~~~~
In member function ‘const char* Chuck_Type::c_name()’,
inlined from ‘long unsigned int Chuck_Op_Registry::add_overload(Chuck_Type*, ae_Operator, Chuck_Type*, Chuck_Func*, ckte_Origin, const string&, long int, long unsigned int)’ at chuck_type.cpp:10782:22,
inlined from ‘long unsigned int Chuck_Op_Registry::add_overload(Chuck_Type*, ae_Operator, Chuck_Func*, ckte_Origin, const string&, long int, long unsigned int)’ at chuck_type.cpp:10829:30:
chuck_type.cpp:9717:16: warning: ‘this’ pointer is null [-Wnonnull]
9717 | return name().c_str();
| ~~~~^~
chuck_type.cpp: In member function ‘long unsigned int Chuck_Op_Registry::add_overload(Chuck_Type*, ae_Operator, Chuck_Func*, ckte_Origin, const string&, long int, long unsigned int)’:
chuck_type.cpp:9697:21: note: in a call to non-static member function ‘const string& Chuck_Type::name()’
9697 | const std::string & Chuck_Type::name()
| ^~~~~~~~~~
The text was updated successfully, but these errors were encountered:
When compiling chuck on WSL (ubuntu with g++ 11.4.0) I get the compiler warnings:
The text was updated successfully, but these errors were encountered: