jianlinwei / mindwebfilter

Automatically exported from code.google.com/p/mindwebfilter
1 stars 0 forks source link

Inherited from DG: Compilation warnings. #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We have the following compilations warning at this moment, it is very important 
to eliminate all of them before release v1.0:

String.cpp: In member function ‘off_t String::toOffset()’:
String.cpp:167: warning: format ‘%d’ expects type ‘int*’, but argument 
3 has type ‘off_t*’
String.cpp:169: warning: format ‘%lld’ expects type ‘long long int*’, 
but argument 3 has type ‘off_t*’
FatController.cpp: In function ‘bool daemonise()’:
FatController.cpp:254: warning: ignoring return value of ‘int chdir(const 
char*)’, declared with attribute warn_unused_result
FatController.cpp: In function ‘int ip_list_listener(std::string, bool)’:
FatController.cpp:936: warning: ignoring return value of ‘ssize_t write(int, 
const void*, size_t)’, declared with attribute warn_unused_result
HTMLTemplate.cpp: In member function ‘bool 
HTMLTemplate::readTemplateFile(const char*)’:
HTMLTemplate.cpp:164: warning: ignoring return value of ‘char* fgets(char*, 
int, FILE*)’, declared with attribute warn_unused_result
HTMLTemplate.cpp:171: warning: ignoring return value of ‘char* fgets(char*, 
int, FILE*)’, declared with attribute warn_unused_result

Original issue reported on code.google.com by cesarzu...@yahoo.es on 5 Jul 2010 at 7:35

GoogleCodeExporter commented 9 years ago

Original comment by mind....@gmail.com on 29 Sep 2011 at 3:37