On 08.09.2014 13:36, Yaron Keren wrote:
> with MinGW 4.82 (and 4.91) on Windows 7 I get:
> 
> $1 = <incomplete type>
> 
> whereas with gcc 4.82 on Ubuntu 14 I get the full type:
> 
> (gdb) print f
> $1 = {<std::basic_ostream<char, std::char_traits<char> >> =
> {<std::basic_ios<char, std::char_traits<char> >> = {<std::ios_base> = {
>         _vptr.ios_base = 0x7ffff7dc1e40 <vtable for
> std::basic_ofstream<char, std::char_traits<char> >+64>,
> ...
> 
> That is a problem for every type compiled in libstdc++, not just ofstream.
> 
> The problem seems to be MinGW libstdc++ is missing debug info or it's not
> loaded properly:
> 

Correct. I did get the same results you did initially, then installed
libstdc++6-4.9.1-1-mingw_i686-dbg, and got f to print.

Take it up with the mingw-w64 gcc package maintainer.

-- 
O< ascii ribbon - stop html email! - www.asciiribbon.org

Attachment: 0x922360B0.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to