Mailinglist Archive: opensuse-packaging (183 mails)

< Previous Next >
[opensuse-packaging] error: invalid conversion from 'const char*' to 'char*'
  • From: Martin Vidner <mvidner@xxxxxxx>
  • Date: Mon, 1 Jun 2009 07:40:56 +0200
  • Message-id: <20090601054055.GA23538@xxxxxxxxxxxxxxxx>

in case you wonder why your C++ package build started to fail with
error: invalid conversion from 'const char*' to 'char*'

It's because glibc-2.10 has been checked in which contains stricter
prototypes for some functions. Instead of the C prototype
char *strchr(const char *, int)
we have
char *strchr(char *, int)
const char *strchr(const char *, int)

Details are at

Martin Vidner, YaST developer

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
List Navigation