[LLVMbugs] [Bug 15206] clang and gold plugin of 3.2 cannot generate bc file for MySQL

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 6 04:24:28 PDT 2013


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

Adam Nowacki <nowak at tepeserwery.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |nowak at tepeserwery.pl
         Resolution|INVALID                     |---

--- Comment #7 from Adam Nowacki <nowak at tepeserwery.pl> ---
Reopening as I believe the bug is not INVALID.

The problem here is that clang defines __GNUC__ but isn't 100% compatible with
gcc. If clang pretends to be GNUC then it has to accept all flags that would be
accepted by gcc. The only sane resolution I can see is to implement
functionality of the missing flags or if not feasible do not promote those
specific flags to errors even if -Werror is set.

Again, clang is already doing the wrong thing by defining __GNUC__ (probably
for compatibility reasons). For the same reasons "-Werror
-fno-implicit-templates" should not produce errors.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130506/222f8413/attachment.html>


More information about the llvm-bugs mailing list