Skip to content

Commit

Permalink
VRT expressions: Avoid -Wnull-dereference on mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaston committed Dec 3, 2024
1 parent a088ed7 commit 0141c04
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frmts/vrt/vrtexpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,18 @@
#define exprtk_disable_rtl_io_file
#define exprtk_disable_rtl_vecops
#define exprtk_disable_string_capabilities

#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wnull-dereference"
#endif

#include <exprtk.hpp>

#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif

#include <chrono>
#include <cstdint>
#include <sstream>
Expand Down

0 comments on commit 0141c04

Please sign in to comment.