Mailinglist Archive: opensuse-packaging (183 mails)

< Previous Next >
Re: [opensuse-packaging] error: invalid conversion from 'const char*' to 'char*'
  • From: Stephan Kulow <coolo@xxxxxxx>
  • Date: Mon, 8 Jun 2009 11:41:14 +0200
  • Message-id: <200906081141.15387.coolo@xxxxxxx>
Am Freitag 05 Juni 2009 schrieb Petr Baudis:
On Fri, Jun 05, 2009 at 11:13:06AM +0200, Marcus Meissner wrote:
On Fri, Jun 05, 2009 at 02:42:31AM +0200, Petr Baudis wrote:
By the way, I just created a sr for another glibc update that might
induce some build failures - in glibc-2.8, namespace pollution of many
header files was fixed and many definitions are now guarded by USE_GNU
etc.; at that time, this introduced too many build failures so we
reverted this change for the time being, but by now, I think most
applications should have been fixed.

If it fixes getline() it will get 17 more packages fixed:

grep -il error.*getline *|wc -l
17

What do you mean by "fixing getline()"?

Werner and me found a neat work around for the "getline problem" - which
translates to "getline was added to POSIX2008 and glibc defaulting to it,
as such breaking valid pre-2008 code":

add -D_POSIX_C_SOURCE=200803L -D_XOPEN_SOURCE=600 to your CFLAGS

Greetings, Stephan

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
List Navigation