[Mingw-w64-public] Converting header files from ReactOS

2014-01-15 Thread Sergei Antonov
Hello! A number of header files in x86_64-w64-mingw32\include were transferred from ReactOS. I'd like transfer some more. In order to do so files have to be adopted, see the example. ReactOS ntddk.h: typedef VOID (NTAPI *PDRIVER_REINITIALIZE)( _In_ struct _DRIVER_OBJECT *DriverObject, _In_opt_

Re: [Mingw-w64-public] crtdll.dll missing from 4.9.0 experimental?

2013-12-23 Thread Sergei Antonov
On 23 December 2013 08:21, Jim Michaels wrote: > I am trying to call _getcwd() which apparently is only found in crtdll.dll > which is not included, or a specific version of windows or a microsoft > compiler's msvcrt*.dll > > any solution for this? I am using > d:\x86_64-4.8.2-release-posix-sjlj-r

[Mingw-w64-public] [PATCH] Add missing IVssBackupComponents::GetWriterStatusCount

2013-12-18 Thread Sergei Antonov
Hello! A patch for mingw-w64-headers/include/vsbackup.h is attached. It adds a missing function. GetWriterStatusCount.patch Description: Binary data -- Rapidly troubleshoot problems before they affect your business. Most

[Mingw-w64-public] [PATCH] Fix parameter type in IVssBackupComponents::GetWriterMetadataCount

2013-12-16 Thread Sergei Antonov
Hi! Attached is a patch for mingw-w64-headers/include/vsbackup.h The parameter type has to be a pointer to UINT. Index: vsbackup.h === --- vsbackup.h (revision 6423) +++ vsbackup.h (working copy) @@ -125,7 +125,7 @@ STDMETHOD_(H

[Mingw-w64-public] Bug: TlsGetValue is called after TlsFree when compiled with -static

2013-11-11 Thread Sergei Antonov
Hello! I'm using Mingw-w64 3.0 release compiled with gcc-4.7.2. This is my test pogram: === #include #include struct S { S() { OutputDebugString("test ctor"); } ~S() { OutputDebugString("test dtor"); } }; int APIENTRY _tWinMain(HINSTANCE hIns

Re: [Mingw-w64-public] 2 bugreports for release 4.8.1 rev 4

2013-08-29 Thread Sergei Antonov
On 26 August 2013 21:07, Kai Tietz wrote: > thanks, this warning is caused by missing prototypes in ktmw32.h > header. I added it at revision 6141. The problem is gone, thanks. One more change can be done to further improve ktmw32.h: bash-4.1# svn diff Index: include/ktmw32.h ==

[Mingw-w64-public] 2 bugreports for release 4.8.1 rev 4

2013-08-26 Thread Sergei Antonov
Hi! This is my test program: #include #include int main(){ HANDLE transaction = CreateTransaction(NULL, NULL, 0, 0, 0, 0, L"my descr"); if (transaction != INVALID_HANDLE_VALUE) CloseHandle(transaction); } == 1. Bogus warning == Using x64-4.8.1-release-win32-seh-rev4.7z compilation succe