[Webkit-unassigned] [Bug 22237] Clean up usage of #pragma in wtf so that gcc does not warn (change for Google Chromium)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 13 23:49:35 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=22237





------- Comment #3 from phajdan.jr at gmail.com  2008-11-13 23:49 PDT -------
(In reply to comment #2)
> Why would GCC be complaining about code that is wrapped in #if COMPILER(MSVC)?

I also thought so for the first time. I think it sees *all* preprocessor
directives and warns if doesn't understand some of them (-Wunknown-pragmas). I
won't argue whether it's sensible or not, but it just happens.

Please also note that it is not code (which the compiler wouldn't see of
course), but preprocessors directives, which preprocessor sees and may react as
I wrote above.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list