Skip to content

Commit

Permalink
Suppress class/struct warning from clang
Browse files Browse the repository at this point in the history
  • Loading branch information
league committed Apr 15, 2022
1 parent 7790fdb commit 7178971
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/proclog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ class movable_ofstream_WAR {
}
};

#ifdef __clang__
#pragma clang diagnostic ignored "-Wmismatched-tags"
#endif
class BFproclog_impl {
friend class ProcLogStream;
std::string _filename;
Expand Down
3 changes: 3 additions & 0 deletions src/ring_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
#include <set>
#include <memory>

#ifdef __clang__
#pragma clang diagnostic ignored "-Wmismatched-tags"
#endif
class BFsequence_impl;
class BFspan_impl;
class BFrspan_impl;
Expand Down
3 changes: 3 additions & 0 deletions src/udp_capture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,9 @@ inline uint64_t round_nearest(uint64_t val, uint64_t mult) {
return (2*val/mult+1)/2*mult;
}

#ifdef __clang__
#pragma clang diagnostic ignored "-Wmismatched-tags"
#endif
class BFudpcapture_impl {
UDPCaptureThread _capture;
CHIPSDecoder _decoder;
Expand Down
3 changes: 3 additions & 0 deletions src/udp_transmit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ class UDPTransmitThread : public BoundThread {
}
};

#ifdef __clang__
#pragma clang diagnostic ignored "-Wmismatched-tags"
#endif
class BFudptransmit_impl {
UDPTransmitThread _transmit;
ProcLog _type_log;
Expand Down

0 comments on commit 7178971

Please sign in to comment.