I solved this by removing the line with getopt prototype in the begining of /wv/wv.h

#endif
#endif

!!! Removed line, getopt( ...something... );
/* end redefs */

#include <time.h>
#include <config.h>

----- Original Message ----- 
From: "Thomas Briggs" <[EMAIL PROTECTED]>
To: "sam th" <[EMAIL PROTECTED]>; "abi dev" <[EMAIL PROTECTED]>
Sent: Wednesday, August 02, 2000 3:44 PM
Subject: Re: The State of Tinderbox


> 
> > make[4]: Entering directory `/usr/src/abi/abi/src/wp/impexp/xp'
> > Building with [LicensedTrademarks:Off Debug:On].
> > ie_exp.cpp
> > c:/ftp/cygnus/usr/src/abi/abi/../wv\getopt.h(122) : error C2733: second C
> > linkage of overloaded function 'getopt' not allowed
> >         c:/ftp/cygnus/usr/src/abi/abi/../wv\getopt.h(122) : see
> declaration
> > of '
> > getopt'
> 
>    As the output above indicates, this is with a debug build.  If I build a
> release build, I get a bit further, but eventually get the same error:
> 
> Building with [LicensedTrademarks:Off Debug:Off].
> ie_exp.cpp
> ie_exp_AbiWord_1.cpp
> ie_exp_GZipAbiWord.cpp
> ie_exp_HTML.cpp
> ie_exp_MsWord_97.cpp
> c:/ftp/cygnus/usr/src/abi/abi/../wv\getopt.h(122) : error C2733: second C
> linkage of overloaded function 'getopt' not allowed
>         c:/ftp/cygnus/usr/src/abi/abi/../wv\getopt.h(122) : see declaration
> of '
> getopt'
> 
>    -T
> 
> 
> 
> 
> 




Reply via email to