[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:

extern char *strdup(const char *);

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]