7 int main(
int argc,
char* argv[])
try {
14 std::cout <<
"\n\nlibstdc++ GLIBCPP: " << __GLIBCPP__;
17 std::cout <<
"\n\nlibstdc++ GLIBCXX: " << __GLIBCXX__;
19 #ifdef _GXX_ABI_VERSION 20 std::cout <<
"\n\nlibstdc++ GXX_ABI_VERSION: " << _GXX_ABI_VERSION;
21 #endif // _GXX_ABI_VERSION 22 #ifdef _GLIBCXX_RELEASE 23 std::cout <<
"\n\nlibstdc++ GLIBCXX_RELEASE: " << _GLIBCXX_RELEASE;
24 #endif // _GLIBCXX_RELEASE 27 }
catch (std::exception
const& ex) {
28 std::cerr <<
"standard exception raised: " << ex.what() << std::endl;
31 std::cerr <<
"unknown exception raised" << std::endl;
int main(int argc, char *argv[])
char const gitrev[]
The git revision at compile time.
char const uname_a[]
The kernel version, release, machine hardware, etc.
char const compiler_flags[]
The compiler flags.
char const compiler[]
The compiler version.
char const linker[]
The linker version.