Author
anonymous
over 7 years ago
Language
C++
Compiler
gcc HEAD 8.0.0 20170713 (experimental)
Options
Warnings
Boost 1.64.0
C++1z(GNU)
no pedantic
Author
anonymous
over 7 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.64.0/gcc-head/include -std=gnu++1z
In file included from /opt/wandbox/boost-1.64.0/gcc-head/include/boost/regex/v4/regex.hpp:79:0,
from /opt/wandbox/boost-1.64.0/gcc-head/include/boost/regex.hpp:31,
from prog.cc:6:
/opt/wandbox/boost-1.64.0/gcc-head/include/boost/regex/v4/regex_format.hpp: In member function 'void boost::re_detail_106400::basic_regex_formatter<OutputIterator, Results, traits, ForwardIter>::format_all() [with OutputIterator = boost::re_detail_106400::string_out_iterator<std::__cxx11::basic_string<char> >; Results = boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; traits = boost::regex_traits_wrapper<boost::regex_traits<char> >; ForwardIter = const char*]':
/opt/wandbox/boost-1.64.0/gcc-head/include/boost/regex/v4/regex_format.hpp:281:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if((m_flags & format_sed) == 0)
^~
/opt/wandbox/boost-1.64.0/gcc-head/include/boost/regex/v4/regex_format.hpp:288:7: note: here
default:
^~~~~~~
/opt/wandbox/boost-1.64.0/gcc-head/include/boost/regex/v4/regex_format.hpp: In member function 'void boost::re_detail_106400::basic_regex_formatter<OutputIterator, Results, traits, ForwardIter>::format_perl() [with OutputIterator = boost::re_detail_106400::string_out_iterator<std::__cxx11::basic_string<char> >; Results = boost::match_results<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; traits = boost::regex_traits_wrapper<boost::regex_traits<char> >; ForwardIter = const char*]':
/opt/wandbox/boost-1.64.0/gcc-head/include/boost/regex/v4/regex_format.hpp:357:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
++m_position;
^~
/opt/wandbox/boost-1.64.0/gcc-head/include/boost/regex/v4/regex_format.hpp:359:4: note: here
default:
^~~~~~~
Result : abc.txt
Exit Code:
0