[liblouis-liblouisxml] Re: [liblouisutdml] push by mwhapples - Fixed the linker warnings, build should happen with no warnings under ... on 2014-09-30 09:20 GMT

  • From: "Vic Beckley" <vic.beckley3@xxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Tue, 30 Sep 2014 12:09:52 -0400

Michael,

OK, that fixed it. There are no warnings. Great job!


Best regards from Ohio,

Vic

-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Michael 
Whapples (Redacted sender "mwhapples@xxxxxxx" for DMARC)
Sent: Tuesday, September 30, 2014 9:23 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: [liblouisutdml] push by mwhapples - Fixed 
the linker warnings, build should happen with no warnings under ... on 
2014-09-30 09:20 GMT

Please ensure you are building from a clean state. Running clean.bat 
which is in the windows directory should do that. The change modified 
the generated makefile, but I don't think the build system notices that 
it needs to regenerate that file.

When doing that I would expect future builds then would have no warnings.

I think those warnings are moderately harmless, but best get rid of them.

Michael Whapples
On 30/09/2014 13:53, Vic Beckley wrote:
> Michael,
>
> I am still getting the 2 long-standing warnings. Did you mean they should be
> fixed too?
>
> semantics.obj : warning LNK4217: locally defined symbol xmlFree imported in
> function registerNamespaces
> transcriber.obj : warning LNK4049: locally defined symbol xmlFree imported
>
>
> Best regards from Ohio,
>
> Vic
>
> -----Original Message-----
> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of
> liblouisutdml@xxxxxxxxxxxxxx
> Sent: Tuesday, September 30, 2014 5:20 AM
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] [liblouisutdml] push by mwhapples - Fixed
> the linker warnings, build should happen with no warnings under ... on
> 2014-09-30 09:20 GMT
>
> Revision: 396c0dd4f987
> Branch:   default
> Author:   Michael Whapples
> Date:     Tue Sep 30 09:19:45 2014 UTC
> Log:      Fixed the linker warnings, build should happen with no warnings
> under MSVC now.
> https://code.google.com/p/liblouisutdml/source/detail?r=396c0dd4f987
>
> Modified:
>    /windows/make_makefile.c
>
> =======================================
> --- /windows/make_makefile.c  Mon Sep 29 09:50:05 2014 UTC
> +++ /windows/make_makefile.c  Tue Sep 30 09:19:45 2014 UTC
> @@ -52,7 +52,7 @@
>        "INCLUDES = /I$(LIBLOUIS_PATH)\\liblouis
> /I$(LIBLOUIS_PATH)\\windows\\include",
>        "INCLUDES = $(INCLUDES) /Iinclude /I$(LIBXML2_PATH)\\include",
>        "LIBLOUIS_DLL = $(LIBLOUIS_PATH)\\windows\\liblouis.dll",
> -    "CCFLAGS =  /nologo /O2 /W1 /c $(INCLUDES) /DLBULIB",
> +    "CCFLAGS =  /nologo /O2 /W1 /c $(INCLUDES) /DLBULIB /DLIBXML_STATIC",
>        "DLLFLAGS = /dll /nologo",
>        "!if \"$(UCS)\" == \"2\"",
>        "CCFLAGS = $(CCFLAGS) /DWIDECHAR_TYPE=\"unsigned short int\"",
> @@ -62,7 +62,7 @@
>        "CC = cl.exe",
>        "# Macros for building libxml2 object files.",
>        "LXHEADERS = include\\config.h include\\xmlversion.h",
> -    "LXCCFLAGS = /nologo /O2 /W1 /c",
> +    "LXCCFLAGS = /nologo /O2 /W1 /c /DLIBXML_STATIC",
>        "LXCCFLAGS = $(LXCCFLAGS) /DVERSION=\"libxml2-1.2.7.2\"",
>        "LXSRCDIR = $(LIBXML2_PATH)",
>        "LXINCLUDES = /Iinclude /I$(LXSRCDIR) /I$(LXSRCDIR)\\include",
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com
>
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: