[Top][All Lists]

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

[bug-gnulib] Re: getopt in C++

From: Bruno Haible
Subject: [bug-gnulib] Re: getopt in C++
Date: Tue, 31 May 2005 12:44:25 +0200
User-agent: KMail/1.5

Werner LEMBERG cited Nelson Beebe:
>   Builds with C++ compilers fail in compiling getopt.c; it is too bad
>   that that simple file could not have been written more portably.  It
>   has been the cause of C++ build failures on several other packages.
> I'll analyze his failure reports

FWIW, the getopt version from 1998 needed the following patches to make
in work in C++. Taken from GNU gperf. Maybe that might help you.


Attachment: getopt.c.patch
Description: Text Data

Attachment: getopt.h.patch
Description: Text Data

reply via email to

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