Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 3 years ago

Language

C++

Compiler

clang 5.0.0

Options
Warnings
Boost 1.72.0
C++2a(GNU)
no pedantic
Raw compiler options
-Wsystem-headers

Author

anonymous

over 3 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/clang-5.0.0/include -std=gnu++2a -Wsystem-headers
In file included from prog.cc:2:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/iostream:38:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/ios:216:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/__locale:15:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/string:470:
/opt/wandbox/clang-5.0.0/include/c++/v1/string_view:763:29: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    basic_string_view<char> operator "" sv(const char *__str, size_t __len)
                            ^
/opt/wandbox/clang-5.0.0/include/c++/v1/string_view:769:32: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    basic_string_view<wchar_t> operator "" sv(const wchar_t *__str, size_t __len)
                               ^
/opt/wandbox/clang-5.0.0/include/c++/v1/string_view:775:33: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    basic_string_view<char16_t> operator "" sv(const char16_t *__str, size_t __len)
                                ^
/opt/wandbox/clang-5.0.0/include/c++/v1/string_view:781:33: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    basic_string_view<char32_t> operator "" sv(const char32_t *__str, size_t __len)
                                ^
In file included from prog.cc:2:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/iostream:38:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/ios:216:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/__locale:15:
/opt/wandbox/clang-5.0.0/include/c++/v1/string:4012:24: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    basic_string<char> operator "" s( const char *__str, size_t __len )
                       ^
/opt/wandbox/clang-5.0.0/include/c++/v1/string:4018:27: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    basic_string<wchar_t> operator "" s( const wchar_t *__str, size_t __len )
                          ^
/opt/wandbox/clang-5.0.0/include/c++/v1/string:4024:28: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    basic_string<char16_t> operator "" s( const char16_t *__str, size_t __len )
                           ^
/opt/wandbox/clang-5.0.0/include/c++/v1/string:4030:28: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    basic_string<char32_t> operator "" s( const char32_t *__str, size_t __len )
                           ^
In file included from prog.cc:2:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/iostream:38:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/ios:216:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/__locale:18:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/mutex:191:
In file included from /opt/wandbox/clang-5.0.0/include/c++/v1/__mutex_base:15:
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1090:29: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::hours operator"" h(unsigned long long __h)
                            ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1095:60: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::duration<long double, ratio<3600,1>> operator"" h(long double __h)
                                                           ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1101:31: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::minutes operator"" min(unsigned long long __m)
                              ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1106:58: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::duration<long double, ratio<60,1>> operator"" min(long double __m)
                                                         ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1112:31: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::seconds operator"" s(unsigned long long __s)
                              ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1117:45: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::duration<long double> operator"" s(long double __s)
                                            ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1123:36: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::milliseconds operator"" ms(unsigned long long __ms)
                                   ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1128:52: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::duration<long double, milli> operator"" ms(long double __ms)
                                                   ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1134:36: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::microseconds operator"" us(unsigned long long __us)
                                   ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1139:52: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::duration<long double, micro> operator"" us(long double __us)
                                                   ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1145:35: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::nanoseconds operator"" ns(unsigned long long __ns)
                                  ^
/opt/wandbox/clang-5.0.0/include/c++/v1/chrono:1150:51: warning: user-defined literal suffixes not starting with '_' are reserved [-Wuser-defined-literals]
    constexpr chrono::duration<long double, nano> operator"" ns(long double __ns)
                                                  ^
20 warnings generated.
Hello, Wandbox!
5000
Exit Code:
0