http://llvm.org/bugs/show_bug.cgi?id=13657
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |INVALID --- Comment #1 from Richard Smith <[email protected]> 2012-08-21 16:48:09 CDT --- This is a defect in C++ itself: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#325 Clang matches the behavior of all other C++ compilers here; this is not a bug (though depending on the way in which that issue is resolved, we may need to revisit this). The workaround is to add parentheses around the default argument expression. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
