Advertisement
mexiel

Untitled

Nov 11th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.03 KB | None | 0 0
  1. land.cpp: In function ‘void oncmd(std::vector<std::__cxx11::basic_string<char> >&, const CommandOrigin&, CommandOutput&):
  2. land.cpp:188:150: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
  3.  the price of the area is %d, and the purchase is made using /land buy ,price");
  4.                                                                              ^
  5. In file included from land.cpp:10:0:
  6. ../../include/seral.hpp: In function ‘void mem2file(const char*, char*, int, bool)’:
  7. ../../include/seral.hpp:114:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
  8.     write(fd,mem,sz);
  9.     ~~~~~^~~~~~~~~~~
  10. ../../include/seral.hpp: In function ‘void file2mem(const char*, char**, int&)’:
  11. ../../include/seral.hpp:124:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  12.     fread(*mem,sz,1,fp);
  13.     ~~~~~^~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement