Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 3 years ago

Language

C++

Compiler

gcc 8.3.0

Options
Warnings
Boost 1.73.0
C++17(GNU)
no pedantic
Raw compiler options
-Wsystem-headers

Author

anonymous

over 3 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-8.3.0/include -std=gnu++17 -Wsystem-headers
In file included from /opt/wandbox/gcc-8.3.0/include/c++/8.3.0/iostream:39,
                 from prog.cc:2:
/opt/wandbox/gcc-8.3.0/include/c++/8.3.0/ostream: In destructor 'std::basic_ostream<_CharT, _Traits>::sentry::~sentry()':
/opt/wandbox/gcc-8.3.0/include/c++/8.3.0/ostream:457:69: warning: 'bool std::uncaught_exception()' is deprecated [-Wdeprecated-declarations]
  if (bool(_M_os.flags() & ios_base::unitbuf) && !uncaught_exception())
                                                                     ^
In file included from /opt/wandbox/gcc-8.3.0/include/c++/8.3.0/ios:39,
                 from /opt/wandbox/gcc-8.3.0/include/c++/8.3.0/ostream:38,
                 from /opt/wandbox/gcc-8.3.0/include/c++/8.3.0/iostream:39,
                 from prog.cc:2:
/opt/wandbox/gcc-8.3.0/include/c++/8.3.0/exception:102:8: note: declared here
   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));
        ^~~~~~~~~~~~~~~~~~
Hello, Wandbox!
20190222
Exit Code:
0