Skip to content

Commit

Permalink
[build] Suppress a warning about templates
Browse files Browse the repository at this point in the history
llvm/llvm-project#80801 started
requiring template arg list after template keyword, which
caused issues in generated SDK code. patch suppresses
that warning unblock clang roll.

Bug: 344080745
Change-Id: I7830d4622011cf57f8858f648cd3af2fd397af33
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1080723
Commit-Queue: Haowei Wu <[email protected]>
Reviewed-by: David Fang <[email protected]>
  • Loading branch information
zeroomega authored and CQ Bot committed Jul 12, 2024
1 parent 795b935 commit 1c36efd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/sdk/gn/base/build/config/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ config("compiler") {
cflags += [ "-ffuchsia-api-level=${fuchsia_target_api_level}" ]
}

# Suppress compiler warnings
# TODO(https://fxbug.dev/344080745): After the issue is fixed,
# remove "-Wno-missing-template-arg-list-after-template-kw".
cflags += [ "-Wno-missing-template-arg-list-after-template-kw" ]

# Add libfdio by default. This may change in future versions
# in order to move away from POSIX applications and towards
# the Fuchsia programming model.
Expand Down

0 comments on commit 1c36efd

Please sign in to comment.