From: whesse@chromium.org Date: Wed, 20 Jul 2011 08:45:30 +0000 (+0000) Subject: Fix presubmit error in copyright message. X-Git-Tag: upstream/4.7.83~18865 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e37a45c336c0964ff214445cd7e7cc604950b5e5;p=platform%2Fupstream%2Fv8.git Fix presubmit error in copyright message. Use new gcc flag -Wno-unused-but-set-variable only on linux. TBR=fschneider@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7457018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8689 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/SConstruct b/SConstruct index 4902fecff..8e16a7824 100644 --- a/SConstruct +++ b/SConstruct @@ -398,13 +398,13 @@ CCTEST_EXTRA_FLAGS = { 'gcc': { 'all': { 'LIBPATH': [abspath('.')], - 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS', - '-Wno-unused-but-set-variable'], + 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], 'CXXFLAGS': ['-fno-rtti', '-fno-exceptions'], 'LINKFLAGS': ['$CCFLAGS'], }, 'os:linux': { 'LIBS': ['pthread'], + 'CCFLAGS': ['-Wno-unused-but-set-variable'], }, 'os:macos': { 'LIBS': ['pthread'], diff --git a/src/jsregexp.cc b/src/jsregexp.cc index 2620bfd2e..bc47df8f2 100644 --- a/src/jsregexp.cc +++ b/src/jsregexp.cc @@ -1,4 +1,4 @@ -// Copyright 2006-2009, 2011 the V8 project authors. All rights reserved. +// Copyright 2011 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: