Skip to content

Commit

Permalink
add #pragma GCC disagnostic push/pop
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Zhang <danzh@google.com>
  • Loading branch information
danzh1989 committed Jun 10, 2019
1 parent 01dc600 commit b8788c0
Showing 1 changed file with 6 additions and 4 deletions.
@@ -1,17 +1,19 @@
#pragma once

// QUICHE allows unused parameters.
#pragma GCC diagnostic ignored "-Wunused-parameter"

#include "common/common/non_copyable.h"

#include "extensions/quic_listeners/quiche/envoy_quic_alarm.h"

#include "quiche/quic/core/quic_alarm.h"
#pragma GCC diagnostic push

// QUICHE allows unused parameters.
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "quiche/quic/core/quic_alarm_factory.h"
#include "quiche/quic/core/quic_arena_scoped_ptr.h"
#include "quiche/quic/core/quic_one_block_arena.h"

#pragma GCC diagnostic pop

namespace Envoy {
namespace Quic {

Expand Down

0 comments on commit b8788c0

Please sign in to comment.