Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 8 years ago

Language

Compiler

Options

Author

anonymous

over 8 years ago

$
prog.cc: In function 'int main()':
prog.cc:6:156: error: narrowing conversion of ''\37777777654'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
     std::vector<uint8_t> a = {'\xac', '\xf9', '\xe1', 'o', 'R', '5', 'M', '\x9b', '\x13', 'I', '2', '%', 'W', ',', '\xd0', 't', '\xde', '\x94', '\xb3', '+'};
                                                                                                                                                            ^
prog.cc:7:141: error: narrowing conversion of ''\37777777616'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
     std::vector<uint8_t> b =  {'7','\x8e',';','\xca','\xc6','\xc7','B','b','x','z','\x89','i','P','\xa3','%','\x86','\xdb','^','\xdb','\x9f'};
                                                                                                                                             ^
Exit Code:
1