Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22145

error: could not convert ‘0’ from ‘int’ to ‘std::__c_locale {aka __locale_t}

$
0
0

I get the following error while building a tool on ubuntu 20.04.

In file included from /usr/local/include/c++/4.8.5/bits/ios_base.h:41:0,                 from /usr/local/include/c++/4.8.5/ios:42,                 from /usr/local/include/c++/4.8.5/istream:38,                 from /usr/local/include/c++/4.8.5/sstream:38,                 from build/opt/log.h:31,                 from build/opt/locks.h:42,                 from build/opt/memory_hierarchy.h:34,                 from build/opt/access_tracing.h:30,                 from build/opt/access_tracing.cpp:26:/usr/local/include/c++/4.8.5/bits/locale_classes.h:379:29: error: could not convert ‘0’ from ‘int’ to ‘std::__c_locale {aka __locale_t}’          __c_locale __old = 0);

Is this a known problem? If so how can I fix this?


Viewing all articles
Browse latest Browse all 22145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>