cURL / Mailing Lists / curl-library / Single Mail


Re: Curl build on HP-UX failed

From: Arunav Sanyal <>
Date: Tue, 10 Sep 2013 14:01:12 +0530


I tried your fix daniel. It does not work. I unblocked myself my commenting
out the lines which checks it.

I tried to compile :-

# include <stdlib.h>
      int rand(int n);
      int rand(int n)
          return ++n;
          return n;

int main (void)

      int i[2];
      int j = rand(i[0]);
        return j;

 return 0;

manually in a separate file. It just gives a warning. I think(based on what
I understand from the error), the compiler is supposed to return an error
and the compilation should fail. Is my understanding correct? If yes, then
I have to find the appropriate compiler flag for the same.

Yours sincerely

Arunav Sanyal
4th year undergraduate student
B.E (Hons) Computer Science
BITS Pilani K.K Birla Goa Campus

List admin:
Received on 2013-09-10