Re: [Mingw-w64-public] [PATCH] Fix bug in __stosb

2013-05-18 Thread Václav Zeman
On 19 May 2013 05:17, dw wrote: > There is a bug in __stosb (as well as the other __stos* functions), as > illustrated by this code (compile with -Os for 64bit): > > #include > #include > > #ifndef _AMD64_ > #error Must be compiled for 64 bit > #endif > > int main(int argc, char* argv[]) > { >

[Mingw-w64-public] [PATCH] Fix bug in __stosb

2013-05-18 Thread dw
There is a bug in __stosb (as well as the other __stos* functions), as illustrated by this code (compile with -Os for 64bit): #include #include #ifndef _AMD64_ #error Must be compiled for 64 bit #endif int main(int argc, char* argv[]) { struct { int a; int b; } c; c.a = 1;

Re: [Mingw-w64-public] [PATCH 3/3] Reimplement CoCreateInstance using CoCreateInstanceFromApp

2013-05-18 Thread Jean-Baptiste Kempf
Fixed and pushed with the prototype. And the 2 previous ones. On 18 May, Kai Tietz wrote : > Beside the missing prototype, patch is ok. > > Thanks, > Kai > Am 18.05.2013 19:11 schrieb "Jean-Baptiste Kempf" : > > > --- > > mingw-w64-libraries/winstorecompat/Makefile.am |1 + > > mingw-w

Re: [Mingw-w64-public] [PATCH 3/3] Reimplement CoCreateInstance using CoCreateInstanceFromApp

2013-05-18 Thread Kai Tietz
Beside the missing prototype, patch is ok. Thanks, Kai Am 18.05.2013 19:11 schrieb "Jean-Baptiste Kempf" : > --- > mingw-w64-libraries/winstorecompat/Makefile.am |1 + > mingw-w64-libraries/winstorecompat/Makefile.in |8 ++- > .../winstorecompat/src/CoCreateInstance.c |

Re: [Mingw-w64-public] [PATCH 2/3] Add CoCreateInstanceFromApp to ole32.def

2013-05-18 Thread Kai Tietz
Ok Thanks, Kai Am 18.05.2013 19:11 schrieb "Jean-Baptiste Kempf" : > --- > mingw-w64-crt/lib32/ole32.def |1 + > mingw-w64-crt/lib64/ole32.def |1 + > 2 files changed, 2 insertions(+) > > diff --git a/mingw-w64-crt/lib32/ole32.def b/mingw-w64-crt/lib32/ole32.def > index 455677e..7f5b37c

Re: [Mingw-w64-public] [PATCH 1/3] Add a combaseapi.h header for Windows 8 COM functions

2013-05-18 Thread Kai Tietz
patch is ok. Thanks Kai Am 18.05.2013 19:11 schrieb "Jean-Baptiste Kempf" : > --- > mingw-w64-headers/include/combaseapi.h | 28 > 1 file changed, 28 insertions(+) > create mode 100644 mingw-w64-headers/include/combaseapi.h > > diff --git a/mingw-w64-headers/inclu

[Mingw-w64-public] [PATCH 3/3] Reimplement CoCreateInstance using CoCreateInstanceFromApp

2013-05-18 Thread Jean-Baptiste Kempf
--- mingw-w64-libraries/winstorecompat/Makefile.am |1 + mingw-w64-libraries/winstorecompat/Makefile.in |8 ++- .../winstorecompat/src/CoCreateInstance.c | 57 3 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 mingw-w64-libraries/w

[Mingw-w64-public] [PATCH 1/3] Add a combaseapi.h header for Windows 8 COM functions

2013-05-18 Thread Jean-Baptiste Kempf
--- mingw-w64-headers/include/combaseapi.h | 28 1 file changed, 28 insertions(+) create mode 100644 mingw-w64-headers/include/combaseapi.h diff --git a/mingw-w64-headers/include/combaseapi.h b/mingw-w64-headers/include/combaseapi.h new file mode 100644 index

[Mingw-w64-public] [PATCH 2/3] Add CoCreateInstanceFromApp to ole32.def

2013-05-18 Thread Jean-Baptiste Kempf
--- mingw-w64-crt/lib32/ole32.def |1 + mingw-w64-crt/lib64/ole32.def |1 + 2 files changed, 2 insertions(+) diff --git a/mingw-w64-crt/lib32/ole32.def b/mingw-w64-crt/lib32/ole32.def index 455677e..7f5b37c 100644 --- a/mingw-w64-crt/lib32/ole32.def +++ b/mingw-w64-crt/lib32/ole32.def @@