Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 4 years ago

Language

C++

Compiler

gcc HEAD 12.0.0 20210721 (experimental)

Options
Warnings
Boost 1.73.0
C++2b(GNU)
no pedantic

Author

anonymous

almost 4 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2b
In file included from /opt/wandbox/boost-1.73.0/gcc-head/include/boost/hana.hpp:191,
                 from prog.cc:3:
/opt/wandbox/boost-1.73.0/gcc-head/include/boost/hana/traits.hpp:70:53: warning: 'template<class _Tp> struct std::is_pod' is deprecated [-Wdeprecated-declarations]
   70 |     constexpr auto is_pod = detail::hana_trait<std::is_pod>{};
      |                                                     ^~~~~~
In file included from /opt/wandbox/gcc-head/include/c++/12.0.0/bits/move.h:57,
                 from /opt/wandbox/gcc-head/include/c++/12.0.0/bits/stl_function.h:60,
                 from /opt/wandbox/gcc-head/include/c++/12.0.0/functional:49,
                 from /opt/wandbox/boost-1.73.0/gcc-head/include/boost/algorithm/algorithm.hpp:20,
                 from prog.cc:1:
/opt/wandbox/gcc-head/include/c++/12.0.0/type_traits:743:5: note: declared here
  743 |     is_pod
      |     ^~~~~~
In file included from /opt/wandbox/boost-1.73.0/gcc-head/include/boost/hana.hpp:191,
                 from prog.cc:3:
/opt/wandbox/boost-1.73.0/gcc-head/include/boost/hana/traits.hpp:71:62: warning: 'template<class _Tp> struct std::is_literal_type' is deprecated [-Wdeprecated-declarations]
   71 |     constexpr auto is_literal_type = detail::hana_trait<std::is_literal_type>{};
      |                                                              ^~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-head/include/c++/12.0.0/bits/move.h:57,
                 from /opt/wandbox/gcc-head/include/c++/12.0.0/bits/stl_function.h:60,
                 from /opt/wandbox/gcc-head/include/c++/12.0.0/functional:49,
                 from /opt/wandbox/boost-1.73.0/gcc-head/include/boost/algorithm/algorithm.hpp:20,
                 from prog.cc:1:
/opt/wandbox/gcc-head/include/c++/12.0.0/type_traits:756:5: note: declared here
  756 |     is_literal_type
      |     ^~~~~~~~~~~~~~~
fooValue: 42
barValue: bar type
Exit Code:
0