FTBFS with gcc 4.4 with error "invalid conversion from 'const char*' to 'char*'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hammerhead (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: hammerhead
Hi,
This package needs to be patched to compile with gcc 4.4, with hardened mode:
g++ -O2 -fomit-
config.cc:64: warning: deprecated conversion from string constant to 'char*'
config.cc:64: warning: deprecated conversion from string constant to 'char*'
config.cc:64: warning: deprecated conversion from string constant to 'char*'
config.cc: In function 'int ParseIPNumber(const char*, int*, int*)':
config.cc:94: error: invalid conversion from 'const char*' to 'char*'
make[3]: *** [obj/Linux/
make[3]: Leaving directory `/build/
make[2]: *** [first] Error 2
make[2]: Leaving directory `/build/
make[1]: *** [src] Error 2
make[1]: Leaving directory `/build/
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Thanks,
Fabrice
Related branches
Changed in hammerhead (Ubuntu): | |
assignee: | nobody → fabrice_sp (fabricesp) |
status: | New → In Progress |
Changed in hammerhead (Ubuntu): | |
assignee: | fabrice_sp (fabricesp) → nobody |
status: | In Progress → Confirmed |
Changed in hammerhead (Ubuntu): | |
assignee: | nobody → Benjamin Drung (bdrung) |
status: | Confirmed → In Progress |
debdiff with the fix to the package. No patch system has been added as Debian maintainer is already doing changes directly in the source