Yup, my work-around is only on the windows/check_yaml branch. The proper
solution is probably to use the progname module from gnulib, as Christian and
Bert pointed out.
-----Oorspronkelijk bericht-----
Van: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] Namens Bert Frees
Verzonden: vrijdag 15 januari 2016 15:19
Aan: liblouis-liblouisxml@xxxxxxxxxxxxx
Onderwerp: [liblouis-liblouisxml] Re: gnulib error module
I think what Davy did was just a quick temporary workaround in his branch. Mike
is trying to build master if I understand correctly.
Arend Arends writes:
What I meant is that Davy changed the line 'char *program_name =For a description of the software, to download it and links to project pages go
"check_yaml";' to 'char *program_name;'
It would be more correct to change this to something like 'char
*program_name = "";' to start with.
Arend
-----Oorspronkelijk bericht-----
From: Bert Frees
Sent: Friday, January 15, 2016 2:58 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: gnulib error module
I had exactly the same issue a couple of days ago. Christian is
working on a solution. See
https://github.com/liblouis/liblouis/issues/124#issuecomment-170992397.
Arend Arends writes:
Without having looked in detail to the code it seems to me that the
problem may be that in the latest commit by Davy (in
tests/check_yaml.c ) program_name was (re)defined but not
initialized.
Arend
-----Oorspronkelijk bericht-----
From: Michael Gray
Sent: Friday, January 15, 2016 2:28 PM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: gnulib error module
The problem seems to be that the library expects the variable
program_name to be defined and a library does not do that because it is not
a program.
I
tried to just define a fake one and the tools version of gnulib
failed because it was defined twice.
MRG
mgray@xxxxxxx
________________________________________
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] on behalf of Christian
Egli [christian.egli@xxxxxx]
Sent: Friday, January 15, 2016 2:51 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: gnulib error module
Hi Mike
On 01/15/2016 01:26 AM, Michael Gray wrote:
I have been unable to perform a merge from the master branch because
the window builds are broken. I traced it back the commit <26fabe>
when the error_module was added. Has anybody else had a problem with this?
I believe Davy has had problems, but that might be more to do with
him wanting to build with MSVC and the nmake build file in the
windows directory not being complete.
What are the problems you encounter?
Christian