Am 12.11.2013 18:13, schrieb Zhihao Yuan: > BTW, iirc VC STL has the same issue. But libstdc++ has an honorable > history of supporting incomplete type in STL declaration.
A disservice, not honorable. Nonstandard extensions, however convenient, are a pain when writing portable code. I am usually setting -std=c++11 -pedantic first up these days to avoid pitfalls later. (or -std=c11) And hope the compiler actually complains. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"