aboutsummaryrefslogtreecommitdiff
path: root/src/common/solaris/guid_creator.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-11-05 16:53:55 +0000
committermark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-11-05 16:53:55 +0000
commit4b6e0bb9523efe00100311f94f44cfd9faa633c1 (patch)
treef3a14a912b2dca8f507ab5c838409853722a509e /src/common/solaris/guid_creator.cc
parentmap_serializers_unittest: fix unused variable warning (diff)
downloadbreakpad-4b6e0bb9523efe00100311f94f44cfd9faa633c1.tar.xz
NSLocalizedString compatibility (10.8 SDK and clang trunk -Wformat-extra-args)
Apparently, as of the 10.8 SDK, Apple has quietly decided that the first argument to NSLocalizedString is supposed to be usable as-is as a format string, instead of simply being the key to obtain a usable format string. The recent clang trunk enforces this, resulting in build breaks like crash_report_sender.m:560:14: error: data argument not used by format string [-Werror,-Wformat-extra-args] displayName]; ^ Breaking the result of NSLocalizedString into a temporary NSString* is enough to suppress the warning. BUG=chromium:314109 R=thakis@chromium.org Review URL: https://breakpad.appspot.com/674003 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1230 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/solaris/guid_creator.cc')
0 files changed, 0 insertions, 0 deletions