patchGNU Libtool - Patches: patch #8843, Include _CRTIMP in _putenv()...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8843: Include _CRTIMP in _putenv() declaration in EXE wrapper sources

Submitted by:  Vadim Zeitlin <zeitlin>
Submitted on:  Thu 31 Dec 2015 02:12:26 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Wed 10 Feb 2016 08:14:49 PM UTC, comment #1:

Here is the updated version of the patch for the latest master:

```
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 2a5aaad..0217828 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -3663,7 +3663,7 @@ EOF
/* declarations of non-ANSI functions */
#if defined _MINGW32_
# ifdef _STRICT_ANSI_
-int _putenv (const char *);
+_CRTIMP int _putenv (const char *);
# endif
#elif defined _CYGWIN_
# ifdef _STRICT_ANSI_
```

Vadim Zeitlin <zeitlin>
Thu 31 Dec 2015 02:12:26 AM UTC, original submission:

Please see http://lists.gnu.org/archive/html/libtool-patches/2011-06/msg00001.html for the patch submitted 4.5 years ago but which is still relevant today. The solution there is not perfect, as discussed on the list, but at least it does solve the problem and would allow me to build my project without hacking libtool.

Please consider applying it, TIA!

Vadim Zeitlin <zeitlin>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by zeitlin (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1