From b430850d1c586ba5a5eaf231a751d9567bda412e Mon Sep 17 00:00:00 2001 From: Sergey Khalyutn Date: Sun, 3 May 2026 12:30:22 +0300 Subject: [PATCH] Fix: Needs to be updated non-type template argument to the modern C standard - compilation error: non-type template argument evaluates to -2147483647, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing]; struct actual_padding ``` [build] /code/extern/libcds\cds/opt/options.h:397:27: error: non-type template argument evaluates to -2147483647, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing] [build] 397 | struct actual_padding [build] | ^ ``` --- extern/libcds/cds/opt/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/libcds/cds/opt/options.h b/extern/libcds/cds/opt/options.h index fc1509bc621..574c3e07a86 100644 --- a/extern/libcds/cds/opt/options.h +++ b/extern/libcds/cds/opt/options.h @@ -342,7 +342,7 @@ namespace opt { //@endcond /// Special padding constants for \p cds::opt::padding option - enum special_padding { + enum special_padding : unsigned int { no_special_padding = 0, ///< no special padding cache_line_padding = 1, ///< use cache line size defined in cds/user_setup/cache_line.h