Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(778)

Issue 17003006: Pass -Wno-header-guard when using Clang to avoid reporting the following error in the system NSS he… (Closed)

Created:
7 years, 6 months ago by Alexander Potapenko
Modified:
7 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Pass -Wno-header-guard when using Clang to avoid reporting the following error in the system NSS header: ============================= In file included from ../../net/third_party/nss/ssl/ssl3ecc.c:30: /usr/include/nss/secmod.h:4:9: error: '_SECMOD_H_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] #ifndef _SECMOD_H_ ^~~~~~~~~~ /usr/include/nss/secmod.h:5:9: note: '_SEDMOD_H_' is defined here; did you mean '_SECMOD_H_'? #define _SEDMOD_H_ ^~~~~~~~~~ _SECMOD_H_ 1 error generated. ============================= R=thakis@chromium.org BUG=None

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M build/common.gypi View 1 chunk +5 lines, -0 lines 1 comment Download

Messages

Total messages: 12 (0 generated)
Alexander Potapenko
Nico, WDYT?
7 years, 6 months ago (2013-06-19 13:39:26 UTC) #1
Nico
Not lgtm. This should be fixed on trunk, wtc fixed this in nss 2 days ...
7 years, 6 months ago (2013-06-19 13:57:57 UTC) #2
(unused - use chromium)
(And if we need to disable a warning for a single project, we should disable ...
7 years, 6 months ago (2013-06-19 13:59:29 UTC) #3
Alexander Potapenko
I'm using LKGR Chromium and trunk Clang (see the asan-canary bot) How comes we're including ...
7 years, 6 months ago (2013-06-19 14:02:53 UTC) #4
Nico
Oh, I didn't realize that this was in the system copy. Sounds similar to http://crbug.com/138571#c8 ...
7 years, 6 months ago (2013-06-19 18:31:49 UTC) #5
wtc
On 2013/06/19 18:31:49, Nico wrote: > Oh, I didn't realize that this was in the ...
7 years, 6 months ago (2013-06-19 19:58:05 UTC) #6
wtc
https://codereview.chromium.org/17003006/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/17003006/diff/1/build/common.gypi#newcode3086 build/common.gypi:3086: # /usr/include/nss/secmod.h I forgot to add: please add the ...
7 years, 6 months ago (2013-06-19 20:01:22 UTC) #7
(unused - use chromium)
On Wed, Jun 19, 2013 at 12:58 PM, <wtc@chromium.org> wrote: > On 2013/06/19 18:31:49, Nico ...
7 years, 5 months ago (2013-06-27 21:11:07 UTC) #8
wtc
On 2013/06/27 21:11:07, thakis wrote: > > wtc: Do you mean you'd add this in ...
7 years, 5 months ago (2013-06-27 21:50:03 UTC) #9
(unused - use chromium)
On Thu, Jun 27, 2013 at 2:50 PM, <wtc@chromium.org> wrote: > On 2013/06/27 21:11:07, thakis ...
7 years, 5 months ago (2013-06-27 21:54:22 UTC) #10
Alexander Potapenko
On 2013/06/27 21:54:22, thakis wrote: > On Thu, Jun 27, 2013 at 2:50 PM, <mailto:wtc@chromium.org> ...
7 years, 5 months ago (2013-06-28 10:01:18 UTC) #11
Nico
7 years, 5 months ago (2013-07-02 17:39:32 UTC) #12
On 2013/06/27 21:54:22, thakis wrote:
> On Thu, Jun 27, 2013 at 2:50 PM, <mailto:wtc@chromium.org> wrote:
> 
> > On 2013/06/27 21:11:07, thakis wrote:
> >
> >  wtc: Do you mean you'd add this in addition to
> >> changing net/third_party/nss/ssl.gyp? net/third_party/nss/ssl.gyp seems to
> >> not depend on build/linux/system.gyp, so it wouldn't pick it up if it's
> >> added only there.
> >>
> >
> > I actually meant I'd add this to build/linux/system.gyp.
> >
> > But I didn't realize that net/third_party/nss/ssl.gyp does
> > not depend on build/linux/system.gyp. I think it should.
> > Perhaps we should make net/third_party/nss/ssl.gyp depend
> > on build/linux/system.gyp first. The difficulty with doing
> > that seems to be we'll need to filter out -lssl3 in
> > 'libraries'.
> >
> > In any case, I am fine with adding this to both build/linux/system.gyp
> > and net/third_party/nss/ssl.gyp.
> >
> 
> Ok, I'll go with that then. Thanks!

I landed this ^ as part of http://crrev.com/209703

> 
> 
> >
> >
>
https://codereview.chromium.**org/17003006/%3Chttps://codereview.chromium.org...>
> >

Powered by Google App Engine
This is Rietveld 408576698