[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is IRIX 6.5 obsolete?
From: |
Bruno Haible |
Subject: |
Re: Is IRIX 6.5 obsolete? |
Date: |
Tue, 22 May 2012 04:21:47 +0200 |
User-agent: |
KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; ) |
Hi Simon,
> Do we want to support IRIX 6.5? It doesn't appear to have strdup:
>
> cc-1515 c89: ERROR File = client.c, Line = 45
> A value of type "int" cannot be assigned to an entity of type "char *".
> *output = strdup (p);
> ^
> 1 error detected in the compilation of "client.c".
You haven't shown the command line of the compiler invocation. I bet this
automake "hide the important details" feature did that to you.
Of course IRIX 6.5 has 'strdup'. It's declared in <string.h> like this:
#if (_XOPEN4UX || _XOPEN5) && _NO_ANSIMODE
extern char *strdup(const char *);
#endif
Either you haven't included <string.h> in your compilation unit,
or you've passed the equivalent of '-ansi' to the compiler,
or there is some problem with gnulib's <string.h> override that we have
not understood so far.
Bruno
- Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/21
- Re: Is IRIX 6.5 obsolete?, Paul Eggert, 2012/05/21
- Re: Is IRIX 6.5 obsolete?,
Bruno Haible <=
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Bruno Haible, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Bruno Haible, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Eric Blake, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Eric Blake, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Paul Eggert, 2012/05/22
- Re: Is IRIX 6.5 obsolete?, Simon Josefsson, 2012/05/22