[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
Fri Nov 14 19:14:18 PST 2008


alp at nuanti.com changed:

           What    |Removed                     |Added
                 CC|                            |alp at nuanti.com

------- Comment #4 from alp at nuanti.com  2008-11-14 19:14 PDT -------
(In reply to comment #3)
> (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.


I can't reproduce these build warnings/errors with any combination of
-Wunknown-pragmas -Wall -Werror and gcc 4.2.4 (trying on Linux, GTK+ port).

Can you post the actual compiler output including warnings in this bug and the
full command line that you're invoking gcc with including the -W flags? That
should give us a better idea of what's going on.

Should hold off on this patch until it's clear what's causing the warnings.

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