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