[Bug c++/53926] g++ fails to compile valid template code with casting to QVariant and back

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 11 11:38:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53926

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-11 11:38:40 UTC ---
ICC probably only accepts it in MSVC-compatible mode.

Try it at http://www.comeaucomputing.com/tryitout/ (the EDG front-end used by
ICC, but in strict mode) or http://llvm.org/demo/ and you'll get the same error
(but with clearer diagnostics than G++ gives)



More information about the Gcc-bugs mailing list