[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[help-gengetopt] gengetopt with native Win32 CL.EXE
From: |
Andreas Baumann |
Subject: |
[help-gengetopt] gengetopt with native Win32 CL.EXE |
Date: |
Mon, 14 Sep 2009 22:53:04 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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.
Greetings
Andreas
--
Andreas Baumann
Trottenstrasse 20
CH-8037 Zuerich
Telefon: +41(0)76/373 01 29
E-mail: address@hidden
Homepage: www.andreasbaumann.cc
gengetopt-2.22.2-fix-unused.patch
Description: Text document
- [help-gengetopt] gengetopt with native Win32 CL.EXE,
Andreas Baumann <=