#10 bug while making cache.cpp

open
nobody
Shweby (4)
5
2014-08-08
2009-09-28
Anonymous
No

g++ -c -Iinclude -I. -g -O2 -Wall -Wno-unknown-pragmas -Wno-format -D_GNU_SOURCE -DHAVE_CONFIG_H -D_REENTRANT src/cache.cpp -o src/cache.o
src/cache.cpp: In member function ‘CACHEMAP* CacheSection::open_(char*, char*, int)’:
src/cache.cpp:194: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:196: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:299: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:312: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:320: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:329: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:358: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp: In member function ‘void CacheSection::close_(CACHEMAP*)’:
src/cache.cpp:408: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp: In member function ‘int CacheSection::add_unlocked(CACHEMAP*, void*, size_t)’:
src/cache.cpp:513: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp: In member function ‘void CacheSection::diskusage()’:
src/cache.cpp:575: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp: In member function ‘void CacheSection::disk_clean()’:
src/cache.cpp:609: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:646: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp: In member function ‘void CacheSection::mem_clean()’:
src/cache.cpp:710: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:739: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp: In member function ‘void CacheSection::force_clean()’:
src/cache.cpp:777: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp: In member function ‘int CacheSection::check(HEADER*)’:
src/cache.cpp:833: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:839: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:851: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:904: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp: In member function ‘void CacheSection::invalidate_unlocked(CACHEMAP*)’:
src/cache.cpp:931: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp: At global scope:
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1052: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp: In member function ‘void CacheSection::interface_show(FILEBUF*, cgi_args_t*, CONNECTION*)’:
src/cache.cpp:1422: warning: deprecated conversion from string constant to ‘char*’
src/cache.cpp:1424: error: invalid conversion from ‘const char*’ to ‘char*’
make[1]: *** [src/cache.o] Error 1
make[1]: Leaving directory `/home/dean/PoesiaSoft/Shweby'
make: *** [all] Error 2

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks