summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-24 13:52:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-24 13:52:05 (GMT)
commit51bf99fdf5def9a1842cccf4308cc8d429c1ef21 (patch)
treeaf242a6d9971a7f301b6b28e87b627e9a51e6128 /unix/tclUnixInit.c
parent0f7dc05b52428797556c8b281afc976403a93157 (diff)
downloadtcl-51bf99fdf5def9a1842cccf4308cc8d429c1ef21.zip
tcl-51bf99fdf5def9a1842cccf4308cc8d429c1ef21.tar.gz
tcl-51bf99fdf5def9a1842cccf4308cc8d429c1ef21.tar.bz2
More progress in making clang build on Cygwin warning-free
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r--unix/tclUnixInit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index 13a624e..218813f 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -31,6 +31,9 @@
#endif
#ifdef __CYGWIN__
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Wignored-attributes"
+#endif
DLLIMPORT extern __stdcall unsigned char GetVersionExW(void *);
DLLIMPORT extern __stdcall void *GetModuleHandleW(const void *);
DLLIMPORT extern __stdcall void FreeLibrary(void *);