-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 15.10.2013 19:14, LRN wrote:
On 15.10.2013 16:34, LRN wrote:
Testcase is attached. Some invocations of stpcpy work, some don't.
expand_builtin_stpcpy() from gcc/builtins.c sheds some light on this
(when return value is ignored, stpcpy() is
-Original Message-
From: JonY
Sent: Monday, October 07, 2013 12:00 AM
To: mingw-w64-public@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] quadmath.h's expq() crashes at runtime.
On 10/6/2013 20:31, sisyph...@optusnet.com.au wrote:
Hi,
Here's the simple demo:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 15.10.2013 17:00, Kai Tietz wrote:
Well, I don't believe in Voodoo here. My bets would go for builtin
function vs. C-library function. Is there actually such a function in
msvcrt?
No, there is no stpcpy in msvcrt.
On 15.10.2013 16:55, Ruben
Hello LRN,
both patches are ok for trunk. Please apply.
Thanks,
Kai
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced
I appreciate all the responses. This is the result.
1. The option O_BINARY is not available in fcntl.h for gcc, So
open(test.dbh, O_RDWR|O_BINARY) does not work.
2. Neither will the unix2dos program work since the file to open is a
binary file which must be read byte by byte.
3. fopen(test.dbh,
2013/10/16 Edscott Wilson edscott.wilson.gar...@gmail.com
I appreciate all the responses. This is the result.
1. The option O_BINARY is not available in fcntl.h for gcc, So
open(test.dbh, O_RDWR|O_BINARY) does not work.
See MSDN for the flags you are looking for:
Thanks everyone.
From: Incongruous
Sent: Tuesday, October 15, 2013 6:06 AM
To: MinGW-64 Mailinglist
Subject: [Mingw-w64-public] to test for MinGW64
I would like to test for MinGW64 to include or exclude some code; something
like:
#ifdef MinGW64
doThis();
#endif
#ifdef __MSV__
doSomthingElse
Edscott Wilson писал 2013-10-16 18:53:
... Since I require use of lseek() ...
man fseek
--
Regards, niXman
___
Dual-target(32 64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingw-w64/
2013/10/16 Ruben Van Boxem vanboxem.ru...@gmail.com
2013/10/16 Edscott Wilson edscott.wilson.gar...@gmail.com
I appreciate all the responses. This is the result.
1. The option O_BINARY is not available in fcntl.h for gcc, So
open(test.dbh, O_RDWR|O_BINARY) does not work.
See MSDN for
You are absolutely right. I took a look into fcntl.h and there it was.
Apparently my configure script is defining NO_OLDNAMES and not defining
_POSIX. I dunno why. But the _O_BINARY option works just fine and allows
me to avoid the hack with fopen/fileno.
Thanks a bunch. Now I can go ahead and
If you use gnu autotools it's really simple. Just put something like this
into configure.ac
AC_CHECK_HEADERS(windows.h)
And then use
#ifdef HAVE_WINDOWS_H
do this
#else
do that
#endif
2013/10/16 Incongruous incongru...@outlook.com
Thanks everyone.
*From:* Incongruous
No. You gave an answer to a question Incongruous did not ask.
Unfortunately, your answer could confuse newcomers searching this ML.
Read Incongruous' post again. It said I would like to test for MinGW64 to
include or exclude some code...
I think LRN, Ruben, and the FAQ provided the correct
12 matches
Mail list logo