Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- land.cpp: In function ‘void oncmd(std::vector<std::__cxx11::basic_string<char> >&, const CommandOrigin&, CommandOutput&)’:
- land.cpp:188:150: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
- the price of the area is %d, and the purchase is made using /land buy ,price");
- ^
- In file included from land.cpp:10:0:
- ../../include/seral.hpp: In function ‘void mem2file(const char*, char*, int, bool)’:
- ../../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]
- write(fd,mem,sz);
- ~~~~~^~~~~~~~~~~
- ../../include/seral.hpp: In function ‘void file2mem(const char*, char**, int&)’:
- ../../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]
- fread(*mem,sz,1,fp);
- ~~~~~^~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement