bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MacOSX and getopt.h


From: Nikos Mavrogiannopoulos
Subject: Re: MacOSX and getopt.h
Date: Sun, 25 Sep 2011 19:38:21 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13

On 09/25/2011 07:29 PM, Bruno Haible wrote:
Hi Nikos,

   I got some bug report [0] on gnutls that on MacOSX gnutls compilation
fails with the following error.

serv.c:1236: warning: cast to pointer from integer of different size
In file included from ./../gl/unistd.h:112,
from ./../gl/stdlib.h:90,
from udp-serv.c:5:
./../gl/getopt.h:197: error: redefinition of 'struct option'

This error message often occurs in three possible contexts:
   - When you have a compilation unit that does not start with
     #include<config.h>. [4][5]

Thanks! Very helpful. It might have been the config.h inclusion.

regards,
Nikos



reply via email to

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