diff options
author | Christian Persch <chpe@src.gnome.org> | 2018-09-28 12:17:40 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2018-09-28 12:17:40 +0200 |
commit | b4107da616c069bdff5c275fa37145a36cb9a373 (patch) | |
tree | ca56fa082c0f6a973c98f11cdfeeef64e751945c /src/vtestream-file.h | |
parent | f6c7c9e9ac6d1121c3ca6f1e0e0e4dfe4253eb3f (diff) | |
download | vte-b4107da616c069bdff5c275fa37145a36cb9a373.tar.gz |
stream: test: Silence warning
clang generates weird warnings for this from -Wstring-plus-int;
silence that warning.
Diffstat (limited to 'src/vtestream-file.h')
-rw-r--r-- | src/vtestream-file.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vtestream-file.h b/src/vtestream-file.h index c8dc89b9..a21a67c9 100644 --- a/src/vtestream-file.h +++ b/src/vtestream-file.h @@ -1248,6 +1248,10 @@ G_END_DECLS #ifdef VTESTREAM_MAIN +#ifdef __clang__ +#pragma clang diagnostic ignored "-Wstring-plus-int" +#endif + /* Some helpers. Macros rather than functions to report useful line numbers on failure. */ /* Check for the file's exact contents */ |