bug-gnulib
[Top][All Lists]
Advanced

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

Re: MacOSX and getopt.h


From: Bruno Haible
Subject: Re: MacOSX and getopt.h
Date: Sun, 25 Sep 2011 19:29:59 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

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]
  - When you have a config.h file that contains #include statements
    of system header files (directly or indirectly). [1]
  - When you did not do "make distclean" before reconfiguring a source tree
    for a different platform. [2][3]

Bruno

[1] http://lists.gnu.org/archive/html/bug-gnulib/2010-02/msg00128.html
[2] http://lists.gnu.org/archive/html/bug-gnulib/2010-06/msg00039.html
[3] http://lists.gnu.org/archive/html/emacs-bug-tracker/2010-10/msg00056.html
[4] http://lists.gnu.org/archive/html/bug-gnulib/2010-11/msg00321.html
[5] http://lists.gnu.org/archive/html/bug-gnulib/2011-04/msg00270.html
-- 
In memoriam Safia Ahmed-jan <http://en.wikipedia.org/wiki/Safia_Ahmed-jan>



reply via email to

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