Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2022-02-10 18:05:11 +0300
committerSergey Sharybin <sergey@blender.org>2022-02-10 18:05:11 +0300
commitad77b52abcbd0daf0d1a3ad395983cb90beeb72a (patch)
treec9a9818af7dc91b848b740360e4394bb835f0628 /source/blender/io/wavefront_obj/exporter/obj_export_io.hh
parentb73c265974163b305a46fa5f66ab8e6532830b7f (diff)
Correction to previous Clang strict warning commit
Need to only pop diagnostic if it was really pushed. Pointed out by Aras Pranckevicius, thanks!
Diffstat (limited to 'source/blender/io/wavefront_obj/exporter/obj_export_io.hh')
-rw-r--r--source/blender/io/wavefront_obj/exporter/obj_export_io.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/wavefront_obj/exporter/obj_export_io.hh b/source/blender/io/wavefront_obj/exporter/obj_export_io.hh
index 7e5fe1ca526..1745169ff98 100644
--- a/source/blender/io/wavefront_obj/exporter/obj_export_io.hh
+++ b/source/blender/io/wavefront_obj/exporter/obj_export_io.hh
@@ -273,7 +273,7 @@ constexpr FormattingSyntax syntax_elem_to_formatting(const eMTLSyntaxElement key
}
}
}
-#if defined __GNUC__
+#if defined(__GNUC__) && !defined(__clang__)
# pragma GCC diagnostic pop
#endif