help-gengetopt
[Top][All Lists]
Advanced

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

Re: [help-gengetopt] gengetopt with native Win32 CL.EXE


From: Lorenzo Bettini
Subject: Re: [help-gengetopt] gengetopt with native Win32 CL.EXE
Date: Thu, 17 Sep 2009 20:42:21 +0200
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Andreas Baumann wrote:
On Thu, Sep 17, 2009 at 12:03:18PM +0200, Lorenzo Bettini wrote:
Andreas Baumann wrote:
Hi,


I tried to produce the C and header files from a GGO file for native
Windows compilation with CL.EXE. Using any of the Cygwin or MinGW ports
of 'gengen` and 'gengetopt` as built-chain works.

As I see it, there is a small problem in the generated C code with the
FIX_UNUSED macro which is sometimes called before or in the middle of a
variable declaration in generated functions.

After patching with gengetopt-2.22.2-fix-unused.patch, compilation is no 
problem.

Hi Andreas

actually this should have already been fixed by this candidate
release, if you want to try it

http://gdn.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz

Ah, perfect. :-)

Yes, the patch corrects exactly the same lines as in 2.22.3.
Works fine.


happy to hear that!
I'll release that version soon

cheers
   Lorenzo




reply via email to

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