From: SourceForge.net <no...@so...> - 2010-01-04 15:16:29
|
Bugs item #2925613, was opened at 2010-01-04 12:59 Message generated for change (Settings changed) made by rrt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108797&aid=2925613&group_id=8797 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: Buchan Milne (buchanmilne) Assigned to: Nobody/Anonymous (nobody) Summary: Build failure with gcc 4.4 Initial Comment: libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../intl -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -MT rpcs.lo -MD -MP -MF .deps/rpcs.Tpo -c rpcs.cc -fPIC -DPIC -o .libs/rpcs.o rpcs.cc: In member function ‘Enum<rfsv::errs> rpcs::queryPrograms(processList&)’: rpcs.cc:304: error: invalid conversion from ‘const char*’ to ‘char*’ make[2]: *** [rpcs.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/rpcs16.Tpo .deps/rpcs16.Plo $ gcc -dumpversion 4.4.1 Obvious changes weren't sufficient to get it to build. ---------------------------------------------------------------------- Comment By: Reuben Thomas (rrt) Date: 2010-01-04 15:15 Message: Thanks for the report. I have applied the patch that Debian uses, which is in fact pretty obvious: cast s to (char *) in line 304 of lib/rpcs.cc. I have checked this in to CVS and will release a new version immediately. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108797&aid=2925613&group_id=8797 |