diff --git a/cpp/src/io/text/multibyte_split.cu b/cpp/src/io/text/multibyte_split.cu index 0166040437b..841302b521a 100644 --- a/cpp/src/io/text/multibyte_split.cu +++ b/cpp/src/io/text/multibyte_split.cu @@ -14,6 +14,11 @@ * limitations under the License. */ +// Can be removed once we use Thrust 1.16+ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpragmas" +#pragma GCC diagnostic ignored "-Wsizeof-array-div" + #include #include #include @@ -40,6 +45,8 @@ #include #include +#pragma GCC diagnostic pop + #include #include