Newest GCC/glibc requires fixes for hplip-3.9.4b

Bug #382720 reported by Johannes Meixner
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

With glibc-2.10
prnt/hpijs/dj3320.cpp and prnt/hpijs/registry.cpp result
"invalid conversion from 'const char*' to 'char*'" errors during build.

For background information see
http://udrepper.livejournal.com/20948.html

Basically
char *strchr(char *, int)
must be replaced with
const char *strchr(const char *, int)
when the first argument is of type const char.

Revision history for this message
Johannes Meixner (jsmeix) wrote :

The attached patch lets it build for me without errors.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.