[Mingw-w64-public] Can't output (ostream <<) std::chrono::duration

2013-07-04 Thread K. Frank
Hello List! The following code snippet fails to compile: auto us = std::chrono::microseconds(7); std::cout << us << std::endl; // error (But "std::cout << us.count() << std::endl;" works as expected.) So it looks like std::chrono::duration isn't set up for "<<". Stroustrup's c++11 faq:

Re: [Mingw-w64-public] strange gcc 4.8 32bit windows target DLL behaviour

2013-07-04 Thread Dongsheng Song
于 2013/7/4 17:18, Kai Tietz 写道: > 2013/7/4 Dongsheng Song : >> On 2013/7/4 4:49, Earnie Boyd wrote: >>> On Wed, Jul 3, 2013 at 12:28 PM, Dongsheng Song wrote: On Thu, Jul 4, 2013 at 12:09 AM, Kai Tietz wrote: > That is a known issue of ld for pe-coff. If at least one symbol is > expo

Re: [Mingw-w64-public] [Patch] __stos* must use output params

2013-07-04 Thread Kai Tietz
2013/7/4 dw : > While input parameters to asm blocks are expressions (not lvalues), they > cannot (safely) be modified within the asm code unless they are also listed > as outputs. While this may appear to work, code that comes *after* the asm > block may fail. > > dw Patch is ok. Thanks, Kai -

Re: [Mingw-w64-public] strange gcc 4.8 32bit windows target DLL behaviour

2013-07-04 Thread Kai Tietz
2013/7/4 Dongsheng Song : > On 2013/7/4 4:49, Earnie Boyd wrote: >> On Wed, Jul 3, 2013 at 12:28 PM, Dongsheng Song wrote: >>> On Thu, Jul 4, 2013 at 12:09 AM, Kai Tietz wrote: That is a known issue of ld for pe-coff. If at least one symbol is exported by dllexport, only those symbols a

Re: [Mingw-w64-public] strange gcc 4.8 32bit windows target DLL behaviour

2013-07-04 Thread Dongsheng Song
On 2013/7/4 4:49, Earnie Boyd wrote: > On Wed, Jul 3, 2013 at 12:28 PM, Dongsheng Song wrote: >> On Thu, Jul 4, 2013 at 12:09 AM, Kai Tietz wrote: >>> That is a known issue of ld for pe-coff. If at least one symbol is >>> exported by dllexport, only those symbols are. If there is none, then >>>

Re: [Mingw-w64-public] Does anyone use Linux cross-build gcc 4.8 compiler to build native compiler success ?

2013-07-04 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19.06.2013 20:35, Christer Solskogen wrote: > On 19.06.2013 11:37, Dongsheng Song wrote: >> I can build i686-w64-mingw32-gcc and x86_64-w64-mingw32-gcc under >> Linux, but when I use this compiler to compile native Windows >> compiler, gcc 4.7 succe