Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int

2014-12-16 Thread David Macek
On 16. 12. 2014 13:19, Ruben Van Boxem wrote: > 2014-12-16 9:56 GMT+01:00 Jim Michaels >: > > usually, any microsoft _PTR is a *, but DWORD_PTR is defined as long long > unsigned int. > winerrstr.cpp:83:24: error: invalid conversion from 'DWORD* {aka long > un

Re: [Mingw-w64-public] any reason why stack overflow just calling plain function?

2014-12-16 Thread David Macek
On 15. 12. 2014 22:03, Jim Michaels wrote: > it's when I do: > char line[LINEBUFSIZE]; > where LINEBUFSIZE is 8388608 Yes, this is the problem. There is a limit on how much memory you can allocate in this way (in contrast to "new" and "malloc") and it depends on the size of the stack. The de

Re: [Mingw-w64-public] [Patch] AD library (was Re: Missing Active Directory Libraries?)

2014-12-16 Thread niXman
JonY 2014-12-17 01:02: > Done, changes pushed to master. Won't this changes be packported to v3.x branch? -- Regards, niXman ___ Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows: http://sourceforge.net/projects/mingw-w64/ ___

Re: [Mingw-w64-public] [Patch] AD library (was Re: Missing Active Directory Libraries?)

2014-12-16 Thread JonY
On 12/16/2014 18:34, Kai Tietz wrote: > Hi JonY, > > Patch is ok. Do we need to add new .def files now to Makefile.am? If > so it is sad. > Done, changes pushed to master. 0xD4EBC740.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature --

Re: [Mingw-w64-public] Trunk build fail

2014-12-16 Thread Kai Tietz
Yes, please apply. Thing is that we need to disable typedef for non-widl case here Thanks, Kai 2014-12-16 14:50 GMT+01:00 Jacek Caban : > Actually, this comment only regenerated headers, which got broken by this: > http://sourceforge.net/p/mingw-w64/mingw-w64/ci/b638e703a2bfbc19c61eaf293a94a1059

Re: [Mingw-w64-public] Trunk build fail

2014-12-16 Thread Jacek Caban
Actually, this comment only regenerated headers, which got broken by this: http://sourceforge.net/p/mingw-w64/mingw-w64/ci/b638e703a2bfbc19c61eaf293a94a1059f657075/ Anyway, the attached patch fixes the problem. Thanks, Jacek On 12/16/14 14:16, NAKAI Yuta wrote: > The problem is introduced at thi

Re: [Mingw-w64-public] Trunk build fail

2014-12-16 Thread NAKAI Yuta
The problem is introduced at this change (http://sourceforge.net/p/mingw-w64/mingw-w64/ci/d008dc5b65a93ec20734540cf7e45ad1e0692ee1/tree//mingw-w64-headers/include/mfobjects.h?diff=3418d798c1d9e96e3bb29901a28820efc7331608). Because #if 0 was deleted (accidentally?), the redefinition occurred.

Re: [Mingw-w64-public] DWORD_PTR implemented as long long unsigned int

2014-12-16 Thread Ruben Van Boxem
2014-12-16 9:56 GMT+01:00 Jim Michaels : > > usually, any microsoft _PTR is a *, but DWORD_PTR is defined as long long > unsigned int. > winerrstr.cpp:83:24: error: invalid conversion from 'DWORD* {aka long > unsigned int*}' to 'DWORD_PTR {aka long long unsigned int}' [-fpermissive] > DWORD_PTR

[Mingw-w64-public] Trunk build fail

2014-12-16 Thread Alexey Pavlov
Recent trunk version of mingw-w64 runtime fail to build during last changes to huge headers: http://pastebin.com/XZ30gHtF Regards, Alexey. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate!

Re: [Mingw-w64-public] [Patch] AD library (was Re: Missing Active Directory Libraries?)

2014-12-16 Thread Kai Tietz
Hi JonY, Patch is ok. Do we need to add new .def files now to Makefile.am? If so it is sad. Thanks, Kai -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Busi

Re: [Mingw-w64-public] Missing Active Directory Libraries?

2014-12-16 Thread Kai Tietz
Hi, 2014-12-16 8:27 GMT+01:00 : > PING? > > I can post the minimal samle code if needed, but mybe someone knows why the > libraries libactiveds.a and libadsnta are not include in the 32bit compiler > toolchains... Thanks for you reply. Thank you for reporting. I think that those libraries sim

Re: [Mingw-w64-public] windows 32 bit memory address space

2014-12-16 Thread Yaron Keren
You are probably using gcc to link the application. If so, add -Wl,--large-address-aware to gcc flags when building it and the exe would be able to use 3GB of memory instead of 2. That option worked for my gcc-compiled app on Windows 7 64 bit. 2014-12-16 1:37 GMT+02:00 Rashad M : > Hello, >

Re: [Mingw-w64-public] [Patch] AD library (was Re: Missing Active Directory Libraries?)

2014-12-16 Thread niXman
JonY 2014-12-16 12:37: Hi, I will rebuild my builds(4.8.3, 4.9.2) this week. -- Regards, niXman ___ Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows: http://sourceforge.net/projects/mingw-w64/ ___

[Mingw-w64-public] [Patch] AD library (was Re: Missing Active Directory Libraries?)

2014-12-16 Thread JonY
On 12/16/2014 15:27, josealf wrote: > PING? > > I can post the minimal samle code if needed, but mybe someone knows why the > libraries libactiveds.a and libadsnta are not include in the 32bit compiler > toolchains... Thanks for you reply. > Kai, Patch OK? diff --git a/mingw-w64-crt/lib32/M

[Mingw-w64-public] DWORD_PTR implemented as long long unsigned int

2014-12-16 Thread Jim Michaels
usually, any microsoft _PTR is a *, but DWORD_PTR is defined as long long unsigned int.winerrstr.cpp:83:24: error: invalid conversion from 'DWORD* {aka long unsigned int*}' to 'DWORD_PTR {aka long long unsigned int}' [-fpermissive]     DWORD_PTR *dwpArray;     dwpArray=(DWORD_PTR*)new DWORD_PTR[