Re: [Mingw-w64-public] Patch for locking printf

2015-07-31 Thread JonY
On 7/23/2015 06:24, JonY wrote: > Hi, > > Patch introduces a new macro __MINGW_PRINTF_LOCKING for fprintf and > vfprintf so when called on the same FILE stream, the operations are not > overlapped. __USE_MINGW_ANSI_STDIO must also be set for the new macro to > take effect. > > The reason why it i

Re: [Mingw-w64-public] Strange linker error with gcc-5.1 32-bit involving 'virtual thunk'

2015-07-31 Thread Óscar Fuentes
Edward Diener writes: >> Calling a virtual member requires an access to the vtable of the class. >> The vtable is defined on the dll that contains the class' code. If the >> class is not exported, the vtable is not exported. The errors you are >> seeing is the linker complaining about the missing

Re: [Mingw-w64-public] Strange linker error with gcc-5.1 32-bit involving 'virtual thunk'

2015-07-31 Thread Edward Diener
On 7/31/2015 9:40 AM, Ruben Van Boxem wrote: > 2015-07-31 13:07 GMT+02:00 Edward Diener >: > > On 7/31/2015 6:05 AM, Ruben Van Boxem wrote: > > 2015-07-31 2:04 GMT+02:00 Edward Diener > >

Re: [Mingw-w64-public] Strange linker error with gcc-5.1 32-bit involving 'virtual thunk'

2015-07-31 Thread Edward Diener
On 7/31/2015 8:52 AM, Óscar Fuentes wrote: > Edward Diener > writes: > >>> The code is far from being a minimal example, so I didn't look at it >>> all, but I see that the class ex_exception is not exported (EX_VISIBLE >>> expands to "... __visibility__("default")..." and you set >>> -fvisibility=

[Mingw-w64-public] Missing CLSIDs and IIDs in msxml2.h

2015-07-31 Thread Matthias-Christian Ott
It seems that msxml2.h is manually generated and therefore many CLSIDs and IIDs are missing. For example, I had to add the following definitions for one of my projects: DEFINE_GUID(IID_ISAXXMLReader, 0xa4f96ed0, 0xf829, 0x476e, 0x81, 0xc0, 0xcd, 0xc7, 0xbd, 0x2a, 0x08, 0x02); DEFINE_GUID(CLSID_SAX

Re: [Mingw-w64-public] Strange linker error with gcc-5.1 32-bit involving 'virtual thunk'

2015-07-31 Thread Ruben Van Boxem
2015-07-31 13:07 GMT+02:00 Edward Diener : > On 7/31/2015 6:05 AM, Ruben Van Boxem wrote: > > 2015-07-31 2:04 GMT+02:00 Edward Diener > >: > > > > On 7/30/2015 10:48 AM, Óscar Fuentes wrote: > > > Edward Diener >

Re: [Mingw-w64-public] Strange linker error with gcc-5.1 32-bit involving 'virtual thunk'

2015-07-31 Thread Óscar Fuentes
Edward Diener writes: >> The code is far from being a minimal example, so I didn't look at it >> all, but I see that the class ex_exception is not exported (EX_VISIBLE >> expands to "... __visibility__("default")..." and you set >> -fvisibility=hidden in your compile command). If your class has v

Re: [Mingw-w64-public] Strange linker error with gcc-5.1 32-bit involving 'virtual thunk'

2015-07-31 Thread Edward Diener
On 7/31/2015 7:45 AM, Óscar Fuentes wrote: > Edward Diener > writes: > >>> I'm not sure this is a GCC bug. Does the linker error also occur when >>> using static libraries, and when you dllexport the whole class as >>> opposed to the functions you're explicitly defining? >> >> I have tried neither

Re: [Mingw-w64-public] Strange linker error with gcc-5.1 32-bit involving 'virtual thunk'

2015-07-31 Thread Óscar Fuentes
Edward Diener writes: >> I'm not sure this is a GCC bug. Does the linker error also occur when >> using static libraries, and when you dllexport the whole class as >> opposed to the functions you're explicitly defining? > > I have tried neither. > >> I believe this error is the same as your previ

Re: [Mingw-w64-public] Strange linker error with gcc-5.1 32-bit involving 'virtual thunk'

2015-07-31 Thread Edward Diener
On 7/31/2015 6:05 AM, Ruben Van Boxem wrote: > 2015-07-31 2:04 GMT+02:00 Edward Diener >: > > On 7/30/2015 10:48 AM, Óscar Fuentes wrote: > > Edward Diener > > > writes: > > > >>> Another thing i

Re: [Mingw-w64-public] Strange linker error with gcc-5.1 32-bit involving 'virtual thunk'

2015-07-31 Thread Ruben Van Boxem
2015-07-31 2:04 GMT+02:00 Edward Diener : > On 7/30/2015 10:48 AM, Óscar Fuentes wrote: > > Edward Diener > > writes: > > > >>> Another thing is to get some hints from a .map-file. > >>> Add "-Wl,--print-map,--sort-common,--cref > file.map" at the > >>> of the link-cmd. > >> > >> I could not find

Re: [Mingw-w64-public] GCC 5.2 with JIT language frontend

2015-07-31 Thread niXman
Hayden Livingston 2015-07-30 21:19: > Hi, > > I'm getting this error from make, and have no idea how to fix it? I > got this previously as well, when I tried to build GCC without using > your build scripts. > > Searching around it says that maybe it is related to not configuring > the right direc

Re: [Mingw-w64-public] Unicode file names and globbing in a console application.

2015-07-31 Thread waterlan
waterlan schreef op 2015-07-07 20:40: > Hi, > > My console application (dos2unix) has globbing enabled: > > > int main (int argc, char *argv[]) > { > # ifdef __MINGW64__ >int _dowildcard = -1; /* enable wildcard expansion for Win64 */ > # endif > > > This works fine for ANSI names. But, in