Merge pull request #252 from aclysma/ignore-c-linkage-warning

Disable return-type-c-linkage warning
This commit is contained in:
Joonas Javanainen 2019-09-04 09:26:48 +03:00 committed by GitHub
commit 54bbee6035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,8 @@ fn main() -> io::Result<()> {
.define("CIMGUI_NO_EXPORT", None)
.define("IMGUI_DISABLE_WIN32_FUNCTIONS", None)
.define("IMGUI_DISABLE_OSX_FUNCTIONS", None);
build.flag_if_supported("-Wno-return-type-c-linkage");
for path in &CPP_FILES {
assert_file_exists(path)?;
build.file(path);