Skip to content
Snippets Groups Projects
Commit 6c793a74 authored by scott snyder's avatar scott snyder
Browse files

FilePeeker: Suppress gcc8 warnings from boost.

Suppress a gcc8 warning from boost (in mpl/assert.h).
(Binaries apparently include boost with -I rather than -isystem.)
Fixed in boost 1.68 (see https://github.com/boostorg/mpl/issues/31)



Former-commit-id: c3a420b2
parent fc426a1c
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,17 @@ ...@@ -6,7 +6,17 @@
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <unistd.h> #include <unistd.h>
// Suppress a gcc8 warning from boost.
// (Binaries apparently include boost with -I rather than -isystem.)
// Fixed in boost 1.68 (see https://github.com/boostorg/mpl/issues/31)
#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wparentheses"
#endif
#include "EventStorage/pickDataReader.h" #include "EventStorage/pickDataReader.h"
#ifdef __GNUC__
# pragma GCC diagnostic pop
#endif
#include "FileMetaData.h" #include "FileMetaData.h"
class BSFilePeeker { class BSFilePeeker {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment