From d82372aee3a473226ea6b565f09cebd54310a4cd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 2 Feb 2022 13:15:43 +1100 Subject: Cleanup: spelling in comments --- source/blender/io/wavefront_obj/exporter/obj_export_io.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/io/wavefront_obj') 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 f1a8178bf0a..692eb7f5db5 100644 --- a/source/blender/io/wavefront_obj/exporter/obj_export_io.hh +++ b/source/blender/io/wavefront_obj/exporter/obj_export_io.hh @@ -125,10 +125,10 @@ constexpr bool is_type_integral = (... && std::is_integral_v>); template constexpr bool is_type_string_related = (... && std::is_constructible_v); -// gcc (at least 9.3) while compiling the obj_exporter_tests.cc with optimizations on, -// results in "obj_export_io.hh:205:18: warning: ā€˜%sā€™ directive output truncated writing 34 bytes -// into a region of size 6" and similar warnings. Yes the output is truncated, and that is covered -// as an edge case by tests on purpose. +/* GCC (at least 9.3) while compiling the obj_exporter_tests.cc with optimizations on, + * results in "obj_export_io.hh:205:18: warning: ā€˜%sā€™ directive output truncated writing 34 bytes + * into a region of size 6" and similar warnings. Yes the output is truncated, and that is covered + * as an edge case by tests on purpose. */ #if defined __GNUC__ # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wformat-truncation" -- cgit v1.2.3