Re: [Mingw-w64-public] swprintf issues with latest update in Cygwin repository

2011-12-30 Thread Prof Brian Ripley
On 30/12/2011 13:55, Chris Sutcliffe wrote: > On 30 December 2011 05:23, Kai Tietz wrote: >> 2011/12/30 JonY: >>> Thanks for the bug report, will investigate. >> >> Hmm, not sure if this is related to swprintf and mingw-POSIX variant. >> I would assume the bug here is the use of %s for a wide-strin

Re: [Mingw-w64-public] swprintf issues with latest update in Cygwin repository

2011-12-30 Thread Chris Sutcliffe
On 30 December 2011 05:23, Kai Tietz wrote: > 2011/12/30 JonY: >> Thanks for the bug report, will investigate. > > Hmm, not sure if this is related to swprintf and mingw-POSIX variant. > I would assume the bug here is the use of %s for a wide-string. Using > >   wcscpy(test, TEXT("test")); >   swpr

Re: [Mingw-w64-public] Makefile: Howto set the correct ldflag params in Makefiles on Win?

2011-12-30 Thread Kai Tietz
Peter, if you like cmake more, feel confortable. I know about some points autotools can easily get a mess. In general it works nice, but if trouble occured by it, then it gets sometimes pretty hairy. For compiling via autotools on cygwin, I think you didn't specified on configure the option --ho

Re: [Mingw-w64-public] Makefile: Howto set the correct ldflag params in Makefiles on Win?

2011-12-30 Thread Peter Meyer
Sorry if you feel angry and not all person in the world having the same views like you. There is no Problem and nothing needs to solve - what you talking about? Am 30.12.2011 11:57, schrieb JonY: On 12/30/2011 18:14, Peter Meyer wrote: Am 30.12.2011 10:06, schrieb JonY: You should be recomp

Re: [Mingw-w64-public] Makefile: Howto set the correct ldflag params in Makefiles on Win?

2011-12-30 Thread JonY
On 12/30/2011 18:14, Peter Meyer wrote: > Am 30.12.2011 10:06, schrieb JonY: >> You should be recompiling GTK for win32 also, you can't use native >> libraries when cross compiling. You may also want to build a specially >> modified pkg-config for cross compiles, eg i686-w64-mingw32-pkg-config >> t

Re: [Mingw-w64-public] swprintf issues with latest update in Cygwin repository

2011-12-30 Thread Kai Tietz
2011/12/30 JonY : > On 12/30/2011 11:50, Chris Sutcliffe wrote: >> On 29 December 2011 19:27, Chris Sutcliffe wrote: >>> Using the latest update to the mingw-w64 packages in Cygwin, I've run >>> in to an issue where swprintf is truncating an included string. >> >> The issue is with the new __mingw_

Re: [Mingw-w64-public] Makefile: Howto set the correct ldflag params in Makefiles on Win?

2011-12-30 Thread Peter Meyer
Am 30.12.2011 10:06, schrieb JonY: > You should be recompiling GTK for win32 also, you can't use native > libraries when cross compiling. You may also want to build a specially > modified pkg-config for cross compiles, eg i686-w64-mingw32-pkg-config > that points to your special PKG_CONFIG_PATH for

Re: [Mingw-w64-public] swprintf issues with latest update in Cygwin repository

2011-12-30 Thread JonY
On 12/30/2011 11:50, Chris Sutcliffe wrote: > On 29 December 2011 19:27, Chris Sutcliffe wrote: >> Using the latest update to the mingw-w64 packages in Cygwin, I've run >> in to an issue where swprintf is truncating an included string. > > The issue is with the new __mingw_*printf functions that w

Re: [Mingw-w64-public] Makefile: Howto set the correct ldflag params in Makefiles on Win?

2011-12-30 Thread JonY
On 12/30/2011 08:25, Peter Meyer wrote: > JonY: >> You should be cross compiling for windows, you don't need X11 or any >> Cygwin GTK DLLs. If you do, you're doing it wrong somewhere. > Can you explain this a bit more precise? > > if you compile this Program base.c > > #include > int main( in