[bugfix](gccompile) fix gcc compile error (#34546)
Co-authored-by: yiguolei <yiguolei@gmail.com>
This commit is contained in:
@ -308,7 +308,7 @@ int main(int argc, char** argv) {
|
||||
doris::signal::InstallFailureSignalHandler();
|
||||
// create StackTraceCache Instance, at the beginning, other static destructors may use.
|
||||
StackTrace::createCache();
|
||||
extern doris::ErrorCode::ErrorCodeInitializer error_code_init;
|
||||
// extern doris::ErrorCode::ErrorCodeInitializer error_code_init;
|
||||
// Some developers will modify status.h and we use a very ticky logic to init error_states
|
||||
// and it maybe not inited. So add a check here.
|
||||
doris::ErrorCode::error_code_init.check_init();
|
||||
|
||||
Reference in New Issue
Block a user