[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnu-libiconv] Can't build libiconv-1.11 on Win32 using VC++ 6.0
From: |
Bruno Haible |
Subject: |
Re: [bug-gnu-libiconv] Can't build libiconv-1.11 on Win32 using VC++ 6.0 |
Date: |
Wed, 4 Jul 2007 02:30:27 +0200 |
User-agent: |
KMail/1.5.4 |
Hello,
Steve Hay wrote:
> When I run the command:
>
> nmake -f Makefile.msvc NO_NLS=1 MFLAGS=-MD
>
> the build fails on progreloc.c with the errors:
>
> progreloc.c(306) : error C2065: 'EXEEXT' : undeclared identifier
> progreloc.c(316) : error C2099: initializer is not a constant
It is safe to replace EXEEXT with the literal string ".exe" in this file.
> I also had a couple of warnings along the way:
>
> error.c(52) : warning C4273: 'error_print_progname' : inconsistent dll
> linkage. dllexport assumed.
> error.c(55) : warning C4273: 'error_message_count' : inconsistent dll
> linkage.dllexport assumed.
> error.c(230) : warning C4273: 'error_one_per_line' : inconsistent dll
> linkage.dllexport assumed.
>
> I'm using Visual C++ 6.0 on Windows XP SP2.
These warnings are ok and can be ignored. The compiler is only warning
about slightly suboptimal code generation.
Bruno