-----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 Van Boxem wrote: > On 2013/10/15 LRN wrote: > >> Testcase is attached. Some invocations of stpcpy work, some don't. > > > I assume you meant something including string.h, like this: > http://coliru.stacked-crooked.com/a/1b967a7cb671a204 > > This also shows the supposed output you want I guess? With MinGW-w64 v3 > (through my Arch packages, "grep 'stpcpy' /usr/x86_64-w64-mingw32/include/ > -R" returns no results. > > This is not a standard C function, and a GNU extension. What are you > expecting? I'm expecting that when gcc says "built-in function stpcpy", i can rely on stpcpy being available. Turns out, that is not the case - it's only partially built-in, and still requires a real stpcpy() to be available for some invocations. - -- O< ascii ribbon - stop html email! - www.asciiribbon.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) iQEcBAEBAgAGBQJSXmxOAAoJEOs4Jb6SI2Cw1IYIAMPYYrSBLA/qxmSSovOe1H4/ Zcq6De/krKD8gKb3IUWJkYyjk+K9WYTTWRl5gfZlnNKR0rGhgwUta5C2y/bk8IGW n8/WnaaM8TCJYmeKwPBw/4N+GFO0Qnp8ciN/VuC/9rnf49ExxQ2CdNLXzVy5ee7K qaPk4lzyo35WE7Eg0KRml+ffvJ0hvWuhSojgnBYi0UkJ9MXfy7wjIerJx7PDuePm 9gmk17fzR8j8PX88TRH1/J9A8hbCTuGt3wQi8t/Z8uUY+QS7c1NI6lUWhIMjqWAw jTcNC1GEE7TzXPos6cjj0KyJejcSaD710ukdj3Gdm8XjY9asKHPN2Ivr6t7E5Eg= =G5Rn -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
