bug-libtool
[Top][All Lists]
Advanced

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

Re: msys/mingw warnings about string length and putenv absence with gcc


From: Bob Friesenhahn
Subject: Re: msys/mingw warnings about string length and putenv absence with gcc -Wall -ansi
Date: Tue, 30 Dec 2008 11:08:40 -0600 (CST)

On Tue, 30 Dec 2008, Charles Wilson wrote:

It isn't difficult to extend this fix for the MINGW case, as well --
something like the following (around line 2840 in ltmain.m4sh):

#ifdef _MSC_VER
# include <direct.h>
# include <process.h>
# include <io.h>
# define setmode _setmode
+# ifdef __STRICT_ANSI__
+int putenv (char *);
+# endif
#else
# include <unistd.h>
# include <stdint.h>

Would this qualify as an "obvious" fix, that I could push without the
the whole round of testing?

Based on your explanation (thanks) it seems pretty obvious to me.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

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