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

Unified Diff: chrome/browser/views/tabs/tab_strip.cc

Issue 199025: Fix some gcc 4.4 issues when compiling with toolkit_views. (Closed)
Patch Set: Remove CreateFindBar, use COMPILER_GCC and add comments. Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/dialog_stubs_gtk.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/tabs/tab_strip.cc
diff --git a/chrome/browser/views/tabs/tab_strip.cc b/chrome/browser/views/tabs/tab_strip.cc
index 3ff6d456bc98da5589ae3a4b2eb3a470a332f399..d615e7a1e645565ea8cb254c75154b42b822e4d4 100644
--- a/chrome/browser/views/tabs/tab_strip.cc
+++ b/chrome/browser/views/tabs/tab_strip.cc
@@ -36,6 +36,12 @@
#undef min
#undef max
+#if defined(COMPILER_GCC)
+// Squash false positive signed overflow warning in GenerateStartAndEndWidths
+// when doing 'start_tab_count < end_tab_count'.
+#pragma GCC diagnostic ignored "-Wstrict-overflow"
+#endif
+
using views::DropTargetEvent;
static const int kDefaultAnimationDurationMs = 100;
« no previous file with comments | « chrome/browser/views/dialog_stubs_gtk.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698