Commit 8dc7a785 authored by Takuto Ikuta's avatar Takuto Ikuta Committed by Commit Bot

Remove -Wno-address-of-packed-member from default_warnings

This is just for command line flag clean up.

Bug: 619640
Change-Id: Ie0611e6ff15db10721a55c29e0665be1c4295561
Reviewed-on: https://chromium-review.googlesource.com/1154227
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Reviewed-by: default avatarHans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579023}
parent 9439d86c
...@@ -1441,9 +1441,6 @@ config("default_warnings") { ...@@ -1441,9 +1441,6 @@ config("default_warnings") {
cflags += [ cflags += [
# TODO(thakis): https://crbug.com/604888 # TODO(thakis): https://crbug.com/604888
"-Wno-undefined-var-template", "-Wno-undefined-var-template",
# TODO(hans): https://crbug.com/637306
"-Wno-address-of-packed-member",
] ]
if (current_toolchain == host_toolchain || !use_xcode_clang || if (current_toolchain == host_toolchain || !use_xcode_clang ||
xcode_version_int >= 930) { xcode_version_int >= 930) {
......
...@@ -46,6 +46,11 @@ source_set("dmg_common") { ...@@ -46,6 +46,11 @@ source_set("dmg_common") {
"//third_party/zlib", "//third_party/zlib",
] ]
cflags = [
# For HFSPlusForkData and HFSPlusVolumeHeader (crbug.com/619640).
"-Wno-address-of-packed-member",
]
public_configs = [ ":dmg_public_config" ] public_configs = [ ":dmg_public_config" ]
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment