libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warning about _putenv redeclaration without dllimport in libtool wra


From: Vadim Zeitlin
Subject: Re: warning about _putenv redeclaration without dllimport in libtool wrapper script
Date: Thu, 23 Jun 2011 10:31:06 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Vadim Zeitlin <vz-libtool <at> zeitlins.org> writes:

> And as this project build options also include "-std=c++0x",
> __STRICT_ANSI__ is defined. For the compiler I use it would be enough to
> add _CRTIMP in front of the declaration as this is how _putenv() is really
> declared in /usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h but I'm
> not sure if all MinGW versions define _CRTIMP. I did check that 3.4.5,
> 4.4.0 and 4.5.0 (native, i.e. not Cygwin) MinGW versions do define it but I
> don't have access to earlier versions any more.
> 
>  Does anybody know if _CRTIMP is safe to use for all MinGW versions?

 After looking further, I think it is, so I sent the corresponding trivial
patch to libtool-patches.

 Please let me know if you see any problems with it. Thanks,
VZ




reply via email to

[Prev in Thread] Current Thread [Next in Thread]