Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-alt
On Thu, Apr 30, 2009 at 10:57 AM, Fabian Groffen <grobian@g.o> wrote:
>
> On 30-04-2009 10:51:10 +0200, Nicolas Olivier wrote:
> > I'm trying to upgrade gcc on sparc-sun-solaris2.8 and it fails with :
> >
> > *
> > * QA Notice: Package has poor programming practices which may compile
> > * but will almost certainly crash on 64bit architectures.
> > *
> > * Function `strtok_r' implicitly converted to pointer at /oss1/users/
> > niolivie/gentoo/var/tmp/portage/sys-devel/gcc-4.3.2-r4/work/gcc-4.3.2/
> > gcc/gcc.c:6504
>
> > Has anyone encountered this kind of problem ?
> > Should I file a bug on gentoo or gcc ?
>
> I think this is because of Solaris 8 lacking strtok_r, or strtok_r being
> in a header not included. What does man strtok_r say?
>
> --
> Fabian Groffen
> Gentoo on a different level
I would think of a define not set actually. Manpage says it's defined
in string.h and actually it is in /usr/include/string.h as follow :
#if defined(__EXTENSIONS__) || defined(_REENTRANT) || \
(_POSIX_C_SOURCE - 0 >= 199506L)
extern char *strtok_r(char *, const char *, char **);
#endif /* defined(__EXTENSIONS__) || defined(_REENTRANT) .. */
|
|