NIKOLAY_TETUS

Untitled

Jun 4th, 2022
990
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.10 KB | None | 0 0
  1. [1/2] Compiling C++ object src/asdsad.p/main.cpp.o
  2. ../../../../../../Projects/asdsad/src/main.cpp:35:28: предупреждение: многознаковая символьная константа [-Wmultichar]
  3.    35 |             if (word[i] == 'м' || word[i] == 'М')
  4.       |                            ^~~
  5. ../../../../../../Projects/asdsad/src/main.cpp:35:46: предупреждение: многознаковая символьная константа [-Wmultichar]
  6.    35 |             if (word[i] == 'м' || word[i] == 'М')
  7.       |                                              ^~~
  8. ../../../../../../Projects/asdsad/src/main.cpp:50:24: предупреждение: многознаковая символьная константа [-Wmultichar]
  9.    50 |         if (text[i] == 'м' || text[i] == 'М')
  10.       |                        ^~~
  11. ../../../../../../Projects/asdsad/src/main.cpp:50:42: предупреждение: многознаковая символьная константа [-Wmultichar]
  12.    50 |         if (text[i] == 'м' || text[i] == 'М')
  13.       |                                          ^~~
  14. ../../../../../../Projects/asdsad/src/main.cpp: В функции «void GetM(std::string)»:
  15. ../../../../../../Projects/asdsad/src/main.cpp:33:27: предупреждение: comparison of integer expressions of different signedness: «int» and «std::__cxx11::basic_string<char>::size_type» {aka «long unsigned int»} [-Wsign-compare]
  16.    33 |         for (int i = 0; i < word.length(); i++)
  17.       |                         ~~^~~~~~~~~~~~~~~
  18. ../../../../../../Projects/asdsad/src/main.cpp:35:25: предупреждение: из-за ограниченности диапазона типа данных, результат сравнения всегда ложь [-Wtype-limits]
  19.    35 |             if (word[i] == 'м' || word[i] == 'М')
  20. ../../../../../../Projects/asdsad/src/main.cpp:35:43: предупреждение: из-за ограниченности диапазона типа данных, результат сравнения всегда ложь [-Wtype-limits]
  21.    35 |             if (word[i] == 'м' || word[i] == 'М')
  22. ../../../../../../Projects/asdsad/src/main.cpp:48:23: предупреждение: comparison of integer expressions of different signedness: «int» and «std::__cxx11::basic_string<char>::size_type» {aka «long unsigned int»} [-Wsign-compare]
  23.    48 |     for (int i = 0; i < text.length(); i++)
  24.       |                     ~~^~~~~~~~~~~~~~~
  25. ../../../../../../Projects/asdsad/src/main.cpp:50:21: предупреждение: из-за ограниченности диапазона типа данных, результат сравнения всегда ложь [-Wtype-limits]
  26.    50 |         if (text[i] == 'м' || text[i] == 'М')
  27. ../../../../../../Projects/asdsad/src/main.cpp:50:39: предупреждение: из-за ограниченности диапазона типа данных, результат сравнения всегда ложь [-Wtype-limits]
  28.    50 |         if (text[i] == 'м' || text[i] == 'М')
  29. [2/2] Linking target src/asdsad
  30.  
Advertisement
Add Comment
Please, Sign In to add comment