[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bison 3.1/test suite] all syncline tests failing Windows (illegal c
From: |
Akim Demaille |
Subject: |
Re: [bison 3.1/test suite] all syncline tests failing Windows (illegal characters in test file names) |
Date: |
Sat, 3 Nov 2018 08:34:39 +0100 |
Hi Jannick!
> Le 31 oct. 2018 à 19:32, Jannick <address@hidden> a écrit :
>
> Hi Akim,
>
> On Tue, 30 Oct 2018 20:08:43 +0100, Akim Demaille wrote:
>
>>> On Sun, 28 Oct 2018 08:40:50 +0100, Akim Demaille wrote:
>>>>> Was too fast hitting send: I had to adjust the gettext version to
>>>>> 0.19 (from 0.18, in configure.ac) to get the ball rolling.
>>>>
>>>> I’m a bit lost.
>>>>
>>>> You are not expected to have to change anything, why did you have to do it?
>>>
>>> Make complains if the gettext version in configure.ac (0.18) does not match
>>> the system gettext version (which is 0.19 here):
>>
>> What commands did you run after git clone? It should be ./bootstrap.
>
> Yes, with —no-git and a local gnulib directory.
Still, it should work.
> But for now let's focus on bison 3.2.x. I’ll restart the bootstrapping stuff
> later (which is related to the xsl patch series requiring new gnulib modules)
There’s no hurry for this: I need the FSF papers signed (did you
send them?), and anyway, it should not be part of 3.2, but 3.3.
> ../configure && make runs through in a subdir with the following warnings:
>
> ../lib/spawn-pipe.c: In function 'create_pipe':
> ../lib/spawn-pipe.c:198:46: warning: passing argument 3 of 'spawnvpe' from
> incompatible pointer type [-Wincompatible-pointer-types]
> child = spawnvpe (P_NOWAIT, prog_path, (const char **) prog_argv,
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from
> C:/msys64/mingw64/x86_64-w64-mingw32/include/unistd.h:11,
> from ./lib/unistd.h:40,
> from ../lib/spawn-pipe.h:23,
> from ../lib/spawn-pipe.c:27:
> C:/msys64/mingw64/x86_64-w64-mingw32/include/process.h:196:67: note: expected
> 'char * const*' but argument is of type 'const char **'
> intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const
> _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
> ~~~~~~~~~~~~^~~~~~~~~~
> ../lib/spawn-pipe.c:199:25: warning: passing argument 4 of 'spawnvpe' from
> incompatible pointer type [-Wincompatible-pointer-types]
> (const char **) environ);
> ^
> In file included from
> C:/msys64/mingw64/x86_64-w64-mingw32/include/unistd.h:11,
> from ./lib/unistd.h:40,
> from ../lib/spawn-pipe.h:23,
> from ../lib/spawn-pipe.c:27:
> C:/msys64/mingw64/x86_64-w64-mingw32/include/process.h:196:90: note: expected
> 'char * const*' but argument is of type 'const char **'
> intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const
> _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
>
> ~~~~~~~~~~~~^~~~~~
> ../lib/spawn-pipe.c:206:53: warning: passing argument 3 of 'spawnvpe' from
> incompatible pointer type [-Wincompatible-pointer-types]
> child = spawnvpe (P_NOWAIT, prog_argv[0], (const char **) prog_argv,
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from
> C:/msys64/mingw64/x86_64-w64-mingw32/include/unistd.h:11,
> from ./lib/unistd.h:40,
> from ../lib/spawn-pipe.h:23,
> from ../lib/spawn-pipe.c:27:
> C:/msys64/mingw64/x86_64-w64-mingw32/include/process.h:196:67: note: expected
> 'char * const*' but argument is of type 'const char **'
> intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const
> _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
> ~~~~~~~~~~~~^~~~~~~~~~
> ../lib/spawn-pipe.c:207:29: warning: passing argument 4 of 'spawnvpe' from
> incompatible pointer type [-Wincompatible-pointer-types]
> (const char **) environ);
> ^
> In file included from
> C:/msys64/mingw64/x86_64-w64-mingw32/include/unistd.h:11,
> from ./lib/unistd.h:40,
> from ../lib/spawn-pipe.h:23,
> from ../lib/spawn-pipe.c:27:
> C:/msys64/mingw64/x86_64-w64-mingw32/include/process.h:196:90: note: expected
> 'char * const*' but argument is of type 'const char **'
> intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const
> _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
>
> ~~~~~~~~~~~~^~~~~~
These warnings are from gnulib. If you’d like to fix them,
you should do that there.
> Still the weird skeleton message:
>
> $ cd src && bison --skeleton
> bison: option requires an argument -- skeleton
> „bison --help“ gibt weitere Informationen.
>
> Note: This is mixed language.
Not surprising: the bottom one comes from Bison itself, and
it is properly translated, while the first one comes from your
libc, and it is not translated.
> I have various shells on my machine (cygwin, msys2, mingw64, mingw32, ...).
> Could it be that weirdly locale information from somewhere else is pulled?
> Here the pure English version.
>
> $ LC_ALL=C bison --skeleton
> bison: option requires an argument -- skeleton
> Try 'bison --help' for more information.
>
> Thanks,
> J.
>
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [bison 3.1/test suite] all syncline tests failing Windows (illegal characters in test file names),
Akim Demaille <=