The problem is that the operands are invalid. That tells me (it takes a while to be able to read this junk, you will learn it in time) that your file main.cpp has a problem on line 11, column 7. If you are working on a giant project that takes a very long time to compile, that rule can be changed to deal with the issue, but for now, focus on the topmost error. What is best, 99.9 % of the time, is to fix only the topmost error and try again. ![]() Operator>(basic_istream& _is, _CharT (&_buf))īut when dealing with syntax errors, one error often triggers many, many messages! root/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/istream:578:1: note: candidate template ignored: could not match '_CharT' against 'vector' (aka 'vector, allocator>') root/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/_random/uniform_int_distribution.h:269:1: note: candidate template ignored: could not match 'uniform_int_distribution' against 'vector' Operator>(basic_istream& _is, _CharT& _c) root/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/istream:635:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. Operator>(basic_istream& _is, signed char& _c) root/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/istream:678:1: note: candidate function template not viable: no known conversion from 'vector' (aka 'vector, allocator>') to 'signed char &' for 2nd argument ![]() Operator>(basic_istream& _is, unsigned char& _c) ![]() root/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/istream:670:1: note: candidate function template not viable: no known conversion from 'vector' (aka 'vector, allocator>') to 'unsigned char &' for 2nd argument Operator> (byte _lhs, _Integer _shift) noexcept root/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/cstddef:153:3: note: candidate function template not viable: no known conversion from 'istream' (aka 'basic_istream') to 'byte' for 1st argument Main.cpp:11:7: error: invalid operands to binary expression ('istream' (aka 'basic_istream') and 'vector' (aka 'vector, allocator>'))
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |