diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-07-02 14:59:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-07-02 14:59:40 (GMT) |
commit | 0093962104e9c604b7d299866aebcde3349e4e61 (patch) | |
tree | 0d8bcda82059bfee15f97f2b8c785786cf3903bc /generic | |
parent | afebc679a1637210fafc9315203027237bab8d0d (diff) | |
download | tk-0093962104e9c604b7d299866aebcde3349e4e61.zip tk-0093962104e9c604b7d299866aebcde3349e4e61.tar.gz tk-0093962104e9c604b7d299866aebcde3349e4e61.tar.bz2 |
Ignore -Wc++-compat in one more place (before including X11/Xlib.h)
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tk.h b/generic/tk.h index af8e5ca..ec1f78d 100644 --- a/generic/tk.h +++ b/generic/tk.h @@ -93,6 +93,9 @@ extern "C" { #ifndef RC_INVOKED #if !defined(_XLIB_H) && !defined(_X11_XLIB_H_) +#if defined(__GNUC__) && !defined(__cplusplus) +# pragma GCC diagnostic ignored "-Wc++-compat" +#endif # include <X11/Xlib.h> # ifdef MAC_OSX_TK # include <X11/X.h> |