[Mingw-w64-public] [PATCH] redeclared without dllimport warnings

2016-08-25 Thread David Wohlferd
The thing that started the _SECIMP work was a whole bunch of "redeclared without dllimport attribute: previous dllimport ignored" warnings. While the _SECIMP work (coming soon) will fix most of them, there are a few others that still give this warning. This patch fixes the places that DON'T

[Mingw-w64-public] [Project News|New Builds]

2016-08-25 Thread niXman
Hi, The new builds of MinGW-W64 based on GCC-6.2.0 is uploaded. MinGW-w64 v5 is used. As earlier, you can try to use the new 'std::experimental::filesystem'(http://en.cppreference.com/w/cpp/experimental/fs) module. For this, add the '-lstdc++fs' options to the linker command line. 32-bit:

[Mingw-w64-public] [PATCH] wchar.h missing functions

2016-08-25 Thread David Wohlferd
In mingw-w64-headers/crt/time.h there is some code that does: #ifndef _WTIME_DEFINED #define _WTIME_DEFINED After that, it defines a number of functions. mingw-w64-headers/crt/wchar.h has this same #if block, using that exact same define, but it defines fewer functions. So if you include

Re: [Mingw-w64-public] [PATCH] wchar.h missing functions

2016-08-25 Thread JonY
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 8/25/2016 17:12, David Wohlferd wrote: > In mingw-w64-headers/crt/time.h there is some code that does: > > #ifndef _WTIME_DEFINED #define _WTIME_DEFINED > > After that, it defines a number of functions. > > mingw-w64-headers/crt/wchar.h has

Re: [Mingw-w64-public] [PATCH] redeclared without dllimport warnings

2016-08-25 Thread JonY
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 8/25/2016 16:44, David Wohlferd wrote: > The thing that started the _SECIMP work was a whole bunch of > "redeclared without dllimport attribute: previous dllimport > ignored" warnings. While the _SECIMP work (coming soon) will fix > most of them,

[Mingw-w64-public] [PATCH] setupapi.h: add missing devpropdef.h include

2016-08-25 Thread Mateusz
Fix for bug #550 https://sourceforge.net/p/mingw-w64/bugs/550/ >From 6325df027a92d7f5041da022d0a9420c1af531c2 Mon Sep 17 00:00:00 2001 From: mati865 Date: Thu, 25 Aug 2016 11:00:50 +0200 Subject: [PATCH] setupapi.h: add missing devpropdef.h include ---

Re: [Mingw-w64-public] DirectWrite additions

2016-08-25 Thread David Wohlferd
So what happened here? The winerror.h that got checked in still has the duplicate defines? Is there some reason I can't remove the dupes (attached)? dw On 8/24/2016 9:46 AM, Jacek Caban wrote: Hi Ruben, I'm sorry I didn't look at this earlier. I committed winerror.h (it seems that you

[Mingw-w64-public] [PATCH] _SECIMP patches

2016-08-25 Thread David Wohlferd
There is an entire collection of routines in mingw-w64-crt\secapi. These functions replicate the functionality of a number of secure versions of functions (_vcprintf_s, _wstrtime_s, etc). The idea was to support these functions on platforms which didn't have the necessary DLLs. The purpose