diff options
author | David Robillard <d@drobilla.net> | 2020-07-02 23:13:52 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-02 23:13:52 +0200 |
commit | f53cdd7792ad0b0dc7b98653811f820065e87a31 (patch) | |
tree | 0eabcbb41ce1fff18e196b3ff3d59f47bafe9a25 | |
parent | eb79d76891346d3e9101be8667afe98051fdbb58 (diff) | |
download | pugl-f53cdd7792ad0b0dc7b98653811f820065e87a31.tar.gz pugl-f53cdd7792ad0b0dc7b98653811f820065e87a31.tar.bz2 pugl-f53cdd7792ad0b0dc7b98653811f820065e87a31.zip |
Disable function type cast warnings with MinGW
Unfortunately doing this is necessary to use modern GL on Windows.
-rw-r--r-- | wscript | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -71,6 +71,8 @@ def configure(conf): else: if Options.options.ultra_strict: append_cflags(['-Wunused-parameter', '-Wno-pedantic']) + if conf.env.TARGET_PLATFORM == "win32": + append_cflags(['-Wno-cast-function-type']) if conf.env.TARGET_PLATFORM == 'darwin': append_cflags(['-DGL_SILENCE_DEPRECATION', |