[LLVMbugs] [Bug 14991] attribute init_priority() should trigger warning on OS X
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 22 11:28:47 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=14991
Douglas Gregor <dgregor at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #3 from Douglas Gregor <dgregor at apple.com> 2013-01-22 13:28:47 CST ---
This kind of warning doesn't belong in Clang. We can't warn about even a
reasonable number of system-specific differences, so Clang would never be
useful as a porting tool for such issues. So (at best) we'd end up with some
set of warnings that isn't enough to be useful for someone porting, but
generates a lot of noise for someone who has already done the porting effort.
Warnings that have such a high false-positive rate (say, by warning about every
init_priority attribute on the Mac) don't belong in the compiler.
--
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