diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/operations.cc | 6 | ||||
-rw-r--r-- | src/operations.h | 5 |
3 files changed, 2 insertions, 13 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5f1b286..f2f0c0f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -38,8 +38,8 @@ add_executable( ) target_include_directories( scoville - PRIVATE ${FUSE_INCLUDE_DIRS} - PRIVATE ${GLOG_INCLUDE_DIRS} + SYSTEM PRIVATE ${FUSE_INCLUDE_DIRS} + SYSTEM PRIVATE ${GLOG_INCLUDE_DIRS} ) target_link_libraries( scoville diff --git a/src/operations.cc b/src/operations.cc index a26b868..17ce2a3 100644 --- a/src/operations.cc +++ b/src/operations.cc @@ -19,14 +19,8 @@ #include <cerrno> -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wc++98-compat-pedantic" -#pragma clang diagnostic ignored "-Wdocumentation" -#pragma clang diagnostic ignored "-Wpadded" -#pragma clang diagnostic ignored "-Wunused-macros" #define FUSE_USE_VERSION 26 #include <fuse.h> -#pragma clang diagnostic pop #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> diff --git a/src/operations.h b/src/operations.h index e4672eb..a623fef 100644 --- a/src/operations.h +++ b/src/operations.h @@ -15,13 +15,8 @@ #ifndef OPERATIONS_H_ #define OPERATIONS_H_ -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wc++98-compat-pedantic" -#pragma clang diagnostic ignored "-Wdocumentation" -#pragma clang diagnostic ignored "-Wpadded" #define FUSE_USE_VERSION 26 #include <fuse.h> -#pragma clang diagnostic pop namespace scoville { |