Re: Getopt - was Re: problem on the Cygwin port

2004-02-13 Thread Christian Costa
Alexandre Julliard wrote: Christian Costa <[EMAIL PROTECTED]> writes: Hi, I've done some further checks and it appears that getopt_long is not broken... It seems to have a conflict with the definition of our own implementation in libwine_port (file getopt1.c). If I rename the latter, glibc's g

Re: Getopt - was Re: problem on the Cygwin port

2004-02-13 Thread Alexandre Julliard
Christian Costa <[EMAIL PROTECTED]> writes: > Hi, > I've done some further checks and it appears that getopt_long is not broken... > It seems to have a conflict with the definition of our own implementation in > libwine_port (file getopt1.c). > If I rename the latter, glibc's getopt_long works fi

Re: Re: Getopt - was Re: problem on the Cygwin port

2004-02-13 Thread Christian Costa
king issue. Bye, Christian > Message du 13/02/04 16:28> De : Steven Edwards <[EMAIL PROTECTED]>> A : Dimitrie O. Paun <[EMAIL PROTECTED]>> Copie à : Christian Costa <[EMAIL PROTECTED]>, [EMAIL PROTECTED]> Objet : Re: Getopt - was Re: problem on the Cygwin port&

Re: Getopt - was Re: problem on the Cygwin port

2004-02-13 Thread Steven Edwards
--- "Dimitrie O. Paun" <[EMAIL PROTECTED]> wrote: > > -#ifndef HAVE_GETOPT_LONG > > +#if !defined(HAVE_GETOPT_LONG) || defined (__CYGWIN__) > > Shouldn't we check in configure if the getopt_long is broken, > and if so, not use it? Yes we should I just didnt have time to do the proper check and re

Re: Getopt - was Re: problem on the Cygwin port

2004-02-12 Thread Dimitrie O. Paun
On Thu, 12 Feb 2004, Steven Edwards wrote: > -#ifndef HAVE_GETOPT_LONG > +#if !defined(HAVE_GETOPT_LONG) || defined (__CYGWIN__) Shouldn't we check in configure if the getopt_long is broken, and if so, not use it? -- Dimi.

Getopt - was Re: problem on the Cygwin port

2004-02-12 Thread Steven Edwards
Hi Christian, --- Christian Costa <[EMAIL PROTECTED]> wrote: > I'm not sure but I remember I had a similar problem when I tried to > compile wine on cygwin. > In my case, the get_opt_long function seemed broken and I modified > the > config.h to force the use > our own implementation of this func

problem on the Cygwin port

2004-02-12 Thread Steven Edwards
Hello, When trying to build anything on Cygwin I am getting the following error from Winebuild. $ make ../../tools/winebuild/winebuild -DNO_LIBWINE_PORT -o regedit.exe.dbg.c --debug - C. about.c childwnd.c edit.c framewnd.c listview.c main.c regedit.c regproc.c tr eeview.c Unable to create output