[LLVMbugs] [Bug 10107] Address of compound literal fails in gnu++0x but not C99

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 9 08:56:02 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10107

Douglas Gregor <dgregor at apple.com> changed:

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

--- Comment #2 from Douglas Gregor <dgregor at apple.com> 2011-06-09 10:56:01 CDT ---
Clang errors in all C++ modes, since this is an extension that is extremely
unsafe. You can downgrade the error to a warning with the

  -Wno-error=address-of-temporary

command-line option or turn it off entirely with

  -Wno-address-of-temporary

-- 
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.



More information about the llvm-bugs mailing list