=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for polly-16.0.6 [ 0%] Built target intrinsics_gen [ 2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/basis_reduction_tab.c.o [ 2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_build.c.o [ 2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_aff_map.c.o [ 2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_build_expr.c.o [ 2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_affine_hull.c.o [ 2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_aff.c.o [ 5%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_arg.c.o In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_map.c:18: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_map.c:14: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | [ 5%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/DependenceInfo.cpp.o In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_map.c:18: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:15: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:15: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_map.c:18: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_map.c:18: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c:10: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:15: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:15: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:15: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c: In function 'print_int_help': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c:544:2: note: in expansion of macro 'snprintf' 544 | snprintf(val, sizeof(val), "%d", *p); | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c: In function 'match_long_name': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c:749:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 749 | if (end - start == strlen(decl->long_name) && | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:40: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'delete_row': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:103:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 103 | for (r = row; r < bset->n_eq; ++r) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'construct_column': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:132:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 132 | for (r = 0; r < row; ++r) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'affine_hull': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:218:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 218 | int is_zero1 = row >= bset1->n_eq || | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:220:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | int is_zero2 = row >= bset2->n_eq || | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:15: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:241:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 241 | isl_assert(bset1->ctx, row == bset1->n_eq, goto error); | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4' 148 | if (test) \ | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:241:2: note: in expansion of macro 'isl_assert' 241 | isl_assert(bset1->ctx, row == bset1->n_eq, goto error); | ^~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'isl_basic_set_recession_cone': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:333:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 333 | for (i = 0; i < bset->n_eq; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:336:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | for (i = 0; i < bset->n_ineq; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'extend_affine_hull': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:435:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 435 | for (i = 0; i < dim; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:438:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 438 | for (j = 0; j < hull->n_eq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:455:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 455 | if (j == hull->n_eq) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'uset_affine_hull_bounded': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:513:41: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 513 | if (bset->sample && bset->sample->size == 1 + dim) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'isl_tab_detect_equalities': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:662:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 662 | for (j = tab->n_outside + 1; j < tab->n_sample; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:682:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 682 | if (hull->n_eq > tab->n_zero) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:683:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 683 | for (j = 0; j < hull->n_eq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'affine_hull_with_cone': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:760:49: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 760 | if (bset && bset->sample && bset->sample->size == 1 + total) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'uset_affine_hull': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:831:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 831 | if (cone->n_eq < total) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'isl_basic_map_detect_equalities': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:932:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 932 | for (i = 0; i < hull->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'add_strides': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:1038:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1038 | for (i = 1; i < M->n_row; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'isl_basic_map_make_strides_explicit': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:1110:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1110 | for (n_known = 0; n_known < bmap->n_div; ++n_known) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:1116:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1116 | for (n = 0; n < bmap->n_eq; ++n) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:24: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/id.h:4, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:13: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:24: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c: In function 'generate_name': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:106:2: note: in expansion of macro 'snprintf' 106 | snprintf(name, sizeof(name), "c%d", i); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:46: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:52: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:58: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:64: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'vec_reorder': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:620:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 620 | for (i = 0; i < r->len; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:112: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_templ.c: In function 'isl_tab_compute_reduced_basis': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_templ.c:203:6: warning: 'row' may be used uninitialized in this function [-Wmaybe-uninitialized] 203 | save_alpha(lp, row-i, i, alpha_buffer[j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_floor': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:1694:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1694 | for (i = 1; i < aff->v->size; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_substitute_equalities_lifted': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2211:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2211 | for (i = 0; i < eq->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2213:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2213 | if (j < 0 || j == 0 || j >= o_div) | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2538: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_aff_check_range': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 15 | if (first + n > dim || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_involves_dims': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2564:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2564 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_drop_dims': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2593:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 2593 | isl_ctx *ctx; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_insert_dims': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2672:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 2672 | isl_ctx *ctx; | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_aff_add_dup_piece': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 75 | isl_assert(ctx, pw->n < pw->size, goto error); | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4' 148 | if (test) \ | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:2: note: in expansion of macro 'isl_assert' 75 | isl_assert(ctx, pw->n < pw->size, goto error); | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2808: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_aff_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:511:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 511 | if (pw->n + n <= pw->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_aff_add_disjoint': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:541:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 541 | if (pw1->size < pw1->n + pw2->n && pw1->n < pw2->n) | ^ [ 5%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast.c.o In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:157, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:3902: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_multi_aff_check_range': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 15 | if (first + n > dim || first + n < first) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:3902: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_aff_get_at': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:163:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 163 | isl_ctx *ctx; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_aff_drop_dims': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:506:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 506 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:508:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 508 | for (i = first; i + n < multi->n; ++i) | ^ [ 8%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_codegen.c.o /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_multi_aff_project_out_map': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4217:10: warning: comparison of integer expressions of different signedness: 'isl_size' {aka 'int'} and 'unsigned int' [-Wsign-compare] 4217 | if (dim == n) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4224:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4224 | for (i = 0; i < first; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4232:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4232 | for (i = 0; i < dim - (first + n); ++i) { | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_multi_aff_add_dup_piece': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 75 | isl_assert(ctx, pw->n < pw->size, goto error); | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4' 148 | if (test) \ | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:2: note: in expansion of macro 'isl_assert' 75 | isl_assert(ctx, pw->n < pw->size, goto error); | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4515: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_multi_aff_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:511:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 511 | if (pw->n + n <= pw->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_multi_aff_add_disjoint': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:541:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 541 | if (pw1->size < pw1->n + pw2->n && pw1->n < pw2->n) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:19: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_expr_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_expr_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_expr_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_expr_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:24: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_node_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_node_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_node_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'extract_isl_aff_from_basic_map': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4921:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4921 | if (eq >= bmap->n_eq) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'range_map': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_node_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:5284:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 5284 | for (i = 0; i < n_out; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'pw_multi_aff_from_map_check_strides': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:5465:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 5465 | for (j = 0; j < hull->n_eq; ++j) { | ^ [ 8%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_graft.c.o /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_dup': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:180:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 180 | for (i = 0; i < expr->u.op.n_arg; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_free': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:226:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 226 | for (i = 0; i < expr->u.op.n_arg; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_op_get_arg': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:336:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 336 | if (pos < 0 || pos >= expr->u.op.n_arg) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_set_op_arg': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:362:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 362 | if (pos < 0 || pos >= expr->u.op.n_arg) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_is_equal': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:399:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 399 | for (i = 0; i < expr1->u.op.n_arg; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_substitute_ids': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:805:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 805 | for (i = 0; i < expr->u.op.n_arg; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: At top level: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1494:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1494 | [isl_ast_expr_op_and] = "&&", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1495:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1495 | [isl_ast_expr_op_and_then] = "&&", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1496:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1496 | [isl_ast_expr_op_or] = "||", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1497:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1497 | [isl_ast_expr_op_or_else] = "||", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1498:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1498 | [isl_ast_expr_op_max] = "max", | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1499:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1499 | [isl_ast_expr_op_min] = "min", In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:6180: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_pw_multi_aff_check_range': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 15 | if (first + n > dim || first + n < first) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:157, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:6588: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_multi_pw_aff_check_range': | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1500:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1500 | [isl_ast_expr_op_minus] = "-", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1501:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1501 | [isl_ast_expr_op_add] = "+", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1502:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1502 | [isl_ast_expr_op_sub] = "-", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1503:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 15 | if (first + n > dim || first + n < first) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:6588: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_pw_aff_get_at': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:163:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 163 | isl_ctx *ctx; | ^~~ 1503 | [isl_ast_expr_op_mul] = "*", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1504:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1504 | [isl_ast_expr_op_fdiv_q] = "floord", | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1505:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1505 | [isl_ast_expr_op_pdiv_q] = "/", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1506:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1506 | [isl_ast_expr_op_pdiv_r] = "%", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1507:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1507 | [isl_ast_expr_op_zdiv_r] = "%", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1508:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1508 | [isl_ast_expr_op_div] = "/", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1509:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1509 | [isl_ast_expr_op_eq] = "==", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1510:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1510 | [isl_ast_expr_op_le] = "<=", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1511:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1511 | [isl_ast_expr_op_ge] = ">=", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1512:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1512 | [isl_ast_expr_op_lt] = "<", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1513:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1513 | [isl_ast_expr_op_gt] = ">", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1514:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1514 | [isl_ast_expr_op_member] = ".", | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1515:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1515 | [isl_ast_expr_op_address_of] = "&" | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_pw_aff_drop_dims': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:506:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 506 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:508:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 508 | for (i = first; i + n < multi->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'print_min_max_c': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1832:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1832 | for (i = 1; i < expr->u.op.n_arg; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1837:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1837 | for (i = 1; i < expr->u.op.n_arg; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'print_call_c': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1857:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1857 | for (i = 1; i < expr->u.op.n_arg; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'print_access_c': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1877:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1877 | for (i = 1; i < expr->u.op.n_arg; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: At top level: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1968:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1968 | [isl_ast_expr_op_and] = "and", | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1969:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1969 | [isl_ast_expr_op_and_then] = "and_then", | ^~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1970:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1970 | [isl_ast_expr_op_or] = "or", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1971:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1971 | [isl_ast_expr_op_or_else] = "or_else", | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1972:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1972 | [isl_ast_expr_op_max] = "max", | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1973:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1973 | [isl_ast_expr_op_min] = "min", | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1974:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1974 | [isl_ast_expr_op_minus] = "minus", | ^~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1975:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1975 | [isl_ast_expr_op_add] = "add", | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1976:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1976 | [isl_ast_expr_op_sub] = "sub", | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1977:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1977 | [isl_ast_expr_op_mul] = "mul", | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1978:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1978 | [isl_ast_expr_op_div] = "div", | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1979:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1979 | [isl_ast_expr_op_fdiv_q] = "fdiv_q", | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1980:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1980 | [isl_ast_expr_op_pdiv_q] = "pdiv_q", | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1981:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1981 | [isl_ast_expr_op_pdiv_r] = "pdiv_r", | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1982:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1982 | [isl_ast_expr_op_zdiv_r] = "zdiv_r", | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1983:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1983 | [isl_ast_expr_op_cond] = "cond", | ^~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1984:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1984 | [isl_ast_expr_op_select] = "select", | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1985:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1985 | [isl_ast_expr_op_eq] = "eq", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c: In function 'isl_ast_build_insert_dim': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1986:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1986 | [isl_ast_expr_op_le] = "le", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:1556:10: warning: 'space' may be used uninitialized in this function [-Wmaybe-uninitialized] 1556 | space = isl_space_map_from_set(space); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:1646:13: note: 'space' was declared here 1646 | isl_space *space, *ma_space; | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1987:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1987 | [isl_ast_expr_op_lt] = "lt", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1988:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1988 | [isl_ast_expr_op_ge] = "ge", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1989:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1989 | [isl_ast_expr_op_gt] = "gt", | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1990:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1990 | [isl_ast_expr_op_call] = "call", | ^~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1991:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1991 | [isl_ast_expr_op_access] = "access", | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1992:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1992 | [isl_ast_expr_op_member] = "member", | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1993:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1993 | [isl_ast_expr_op_address_of] = "address_of" | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'ast_expr_required_macros': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:2633:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2633 | for (i = 0; i < expr->u.op.n_arg; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:157, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:8688: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_multi_union_pw_aff_check_range': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 15 | if (first + n > dim || first + n < first) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:8688: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_union_pw_aff_get_at': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:163:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 163 | isl_ctx *ctx; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_union_pw_aff_drop_dims': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:506:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 506 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:508:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 508 | for (i = first; i + n < multi->n; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_graft.c:29: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_graft_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_graft_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_graft_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_graft_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ [ 8%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_bernstein.c.o [ 10%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_blk.c.o In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:16: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ [ 10%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_bound.c.o In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/hash.h:15, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:14, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:10: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c: In function 'bernstein_coefficients_cell': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:290:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 290 | if (n_vertices > nvar + 1 && ctx->opt->bernstein_triangulate) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:302:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 302 | for (i = 0; i < 1 + nvar; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:310:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 310 | for (j = 0; j < nvar; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:348:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 348 | for (i = 0; i < 1 + nvar; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c: In function 'isl_blk_is_error': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:39:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 39 | return block.size == -1 && block.data == NULL; | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c: In function 'isl_blk_free_force': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:46:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 46 | for (i = 0; i < block.size; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c: In function 'extend': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:67:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 67 | for (i = block.size; i < new_n; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bound.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bound.c:11: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bound.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bound.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bound.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ [ 10%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_box.c.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' 294 | template struct DenseMapInfo> { | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: expected parameter pack before '...' 294 | template struct DenseMapInfo> { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: template argument 1 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:65: error: expected unqualified-id before '>' token 294 | template struct DenseMapInfo> { | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:70: error: template argument 1 is invalid 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:73: error: expected unqualified-id before '>' token 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:70: error: template argument 1 is invalid 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:73: error: expected unqualified-id before '>' token 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 180 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:37: error: expected primary-expression before '>' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:38: error: expected primary-expression before ',' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 246 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:37: error: expected primary-expression before '>' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:38: error: expected primary-expression before ',' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 259 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:37: error: expected primary-expression before '>' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:38: error: expected primary-expression before ',' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 272 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:37: error: expected primary-expression before '>' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:38: error: expected primary-expression before ',' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::bit_width(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 282 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:37: error: expected primary-expression before '>' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:38: error: expected primary-expression before ',' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_floor(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 292 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:37: error: expected primary-expression before '>' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:38: error: expected primary-expression before ',' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_ceil(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 307 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:37: error: expected primary-expression before '>' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:38: error: expected primary-expression before ',' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:70: error: template argument 1 is invalid 348 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:73: error: expected unqualified-id before '>' token 348 | template >> | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 78 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:37: error: expected primary-expression before '>' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:38: error: expected primary-expression before ',' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 90 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:37: error: expected primary-expression before '>' token 90 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:38: error: expected primary-expression before ',' token 90 | static_assert(std::is_unsigned_v, | ^ [ 10%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/PolyhedralInfo.cpp.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isInt(int64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:212:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 212 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:214:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 214 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:216:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 216 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:218:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 218 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isUInt(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:238:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 238 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:240:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 240 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:242:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 242 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:325:16: error: 'has_single_bit' is not a member of 'llvm' 325 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:330:16: error: 'has_single_bit' is not a member of 'llvm' 330 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 341 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:37: error: expected primary-expression before '>' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:38: error: expected primary-expression before ',' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 354 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:37: error: expected primary-expression before '>' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:38: error: expected primary-expression before ',' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countPopulation(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 364 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:37: error: expected primary-expression before '>' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:38: error: expected primary-expression before ',' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:366:26: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 366 | return (unsigned)llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_32(uint32_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:379:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 379 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_64(uint64_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:392:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 392 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_box.c:15: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/val.h:5, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_box.c:13: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:38: error: template argument 1 is invalid 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:39: error: expected unqualified-id before ',' token 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_box.c:15: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_box.c:15: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_box.c:15: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ [ 10%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_coalesce.c.o [ 13%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_constraint.c.o [ 13%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_convex_hull.c.o In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:23: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:23: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:23: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:23: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:23: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:13: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'eq_status_in': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:82:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 82 | for (k = 0; k < bmap_i->n_eq; ++k) { | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:28: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_constraint_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'ineq_status_in': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:111:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 111 | for (k = 0; k < bmap_i->n_ineq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'any': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:133:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 133 | for (i = 0; i < len ; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'find': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:146:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 146 | for (i = 0; i < len ; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'count': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:157:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 157 | for (i = 0; i < len ; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'all': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:167:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 167 | for (i = 0; i < len ; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_constraint_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'all_valid_or_cut': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:291:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 291 | for (i = 0; i < 2 * info->bmap->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:301:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 301 | for (i = 0; i < info->bmap->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_constraint_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'wrap_constraints': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:234:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 234 | for (j = 0; j < set->p[i]->n_eq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:241:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 241 | for (j = 0; j < set->p[i]->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'initial_facet_constraint': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:424:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 424 | for (i = 0; i < face->n_eq; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:429:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 429 | isl_assert(set->ctx, i < face->n_eq, goto error); | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4' 148 | if (test) \ | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:429:3: note: in expansion of macro 'isl_assert' 429 | isl_assert(set->ctx, i < face->n_eq, goto error); | ^~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'add_valid_constraints': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:437:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 437 | for (k = 0; k < info->bmap->n_eq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'extend': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:554:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 554 | for (i = 0; i < hull->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:457:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 457 | for (k = 0; k < info->bmap->n_ineq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:569:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 569 | for (j = 0; j < facet->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'number_of_constraints_increases': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:570:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 570 | for (f = 0; f < hull_facet->n_ineq; ++f) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:483:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 483 | for (k = 0; k < bmap->n_ineq; ++k) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_constraint_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:574:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 574 | if (f < hull_facet->n_ineq) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'fuse': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'convex_hull_1d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:634:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 634 | for (j = 0; j < set->p[0]->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:652:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 652 | for (j = 0; j < bset->n_eq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:672:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 672 | for (j = 0; j < bset->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'convex_hull_pair_elim': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:762:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 762 | for (j = 0; j < bset[i]->n_eq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:771:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 771 | for (j = 0; j < bset[i]->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:539:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 539 | for (k = 0; k < info[i].bmap->n_div; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:553:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 553 | for (k = 0; k < extra_rows; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'induced_lineality_space': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:888:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 888 | for (i = 0; i < bset1->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:895:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 895 | for (i = 0; i < bset1->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'check_facets': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:636:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 636 | for (k = 0; k < info[i].bmap->n_ineq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:902:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 902 | for (i = 0; i < bset2->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'isl_basic_map_foreach_constraint': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:218:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 218 | for (i = 0; i < bmap->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:909:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 909 | for (i = 0; i < bset2->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:641:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 641 | for (l = 0; l < info[j].bmap->n_ineq; ++l) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:227:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 227 | for (i = 0; i < bmap->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:653:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 653 | if (l < info[j].bmap->n_ineq) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:657:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 657 | if (k < info[i].bmap->n_ineq) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'contains': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:680:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 680 | for (k = 0; k < bmap->n_eq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'valid_direction_lp': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:696:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 696 | for (k = 0; k < bmap->n_ineq; ++k) { | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:400: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_constraint_check_range': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 15 | if (first + n > dim || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1021:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1021 | for (i = 0; i < d; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'isl_constraint_involves_dims': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1029:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1029 | for (j = 0; j < bset1->n_eq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:423:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 423 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1033:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1033 | for (j = 0; j < bset1->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1038:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1038 | for (j = 0; j < bset2->n_eq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1042:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1042 | for (j = 0; j < bset2->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'valid_direction': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1107:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1107 | for (i = 0; i < bset1->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1116:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1116 | for (i = 0; i < bset1->n_ineq; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'convex_hull_pair': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'isl_basic_map_has_defining_equality': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1322:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 1322 | if (lin->n_eq < total) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'not_unique_unit_row': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:777:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 777 | for (i = 0; i < bmap->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:843:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 843 | for (j = 1; j < T->n_row; ++j) { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h: In static member function 'static void llvm::SmallVectorTemplateBase >::uninitialized_move(It1, It1, It2)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h:352:10: error: 'uninitialized_move' is not a member of 'std'; did you mean 'uninitialized_copy'? 352 | std::uninitialized_move(I, E, Dest); | ^~~~~~~~~~~~~~~~~~ | uninitialized_copy /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'isl_basic_set_has_defining_inequalities': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:821:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 821 | for (i = 0; i < bset->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'isl_basic_set_lineality_space': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1366:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1366 | for (i = 0; i < bset->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:831:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 831 | for (j = i + 1; j < bset->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'tighten_on_relaxed_facet': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1376:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1376 | for (i = 0; i < bset->n_ineq && lin->n_eq < dim; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1003:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1003 | for (i = 0; i < info->bmap->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'set_smallest_upper_bound': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1376:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 1376 | for (i = 0; i < bset->n_ineq && lin->n_eq < dim; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:918:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 918 | for (j = 0; j < bset->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'set_largest_lower_bound': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'extend': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:948:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 948 | for (j = 0; j < bset->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1055:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1055 | for (l = 0; l < info[i].bmap->n_div; ++l) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'uset_convex_hull_unbounded': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'foreach_upper_bound': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:974:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 974 | for (i = 0; i < bset->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1467:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 1467 | if (t->n_eq < total) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:994:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 994 | if (i < bset->n_ineq) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'initial_hull': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'foreach_lower_bound': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1016:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1016 | for (i = 0; i < bset->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1504:31: warning: comparison of integer expressions of different signedness: 'isl_size' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1504 | isl_assert(set->ctx, 1 + dim == bounds->n_col, goto error); | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4' 148 | if (test) \ | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1504:2: note: in expansion of macro 'isl_assert' 1504 | isl_assert(set->ctx, 1 + dim == bounds->n_col, goto error); | ^~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1036:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1036 | if (i < bset->n_ineq) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'foreach_bound_pair': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1059:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1059 | for (i = 0; i < bset->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1070:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1070 | for (j = 0; j < bset->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1098:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1098 | if (j < bset->n_ineq) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1104:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1104 | if (i < bset->n_ineq) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'common_constraints': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1644:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1644 | if (set->p[i]->n_ineq >= min_constraints) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'isl_basic_set_foreach_bound_pair': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1157:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1157 | for (i = 0; i < bset->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1660:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1660 | for (i = 0; i < set->p[best]->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1173 | for (i = 0; i < bset->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1684:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1684 | for (i = 0; i < set->p[s]->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1693:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1693 | for (i = 0; i < set->p[s]->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'wraps_update_max': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1193:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1193 | for (k = 0; k < info->bmap->n_eq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1718:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1718 | for (i = 0; i < set->p[s]->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1202:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1202 | for (k = 0; k < info->bmap->n_ineq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1727:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1727 | if (i == set->p[s]->n_ineq) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'allow_wrap': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1276:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1276 | for (i = 1; i < wraps->mat->n_col; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'add_selected_wraps': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'uset_convex_hull': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1357:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1357 | for (l = 0; l < bmap->n_ineq; ++l) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1831:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 1831 | if (lin->n_eq < dim) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLFunctionalExtras.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:35: error: 'optional' in namespace 'std' does not name a template type 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:30: note: 'std::optional' is only available from C++17 onwards 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:43: error: expected ',' or '...' before '<' token 46 | auto transformOptional(const std::optional &O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:13: error: 'optional' in namespace 'std' does not name a template type 47 | -> std::optional { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:8: note: 'std::optional' is only available from C++17 onwards 47 | -> std::optional { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:21: error: expected initializer before '<' token 47 | -> std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: error: 'optional' is not a member of 'std' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:39: error: expected primary-expression before '>' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:43: error: label 'O' referenced outside of any function 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:46: error: expected primary-expression before 'const' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:63: error: expression list treated as compound expression in initializer [-fpermissive] 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:64: error: expected ';' before '->' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ | ; 57 | -> std::optional { | ~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:104:54: error: expected ')' before 'Str' 104 | /*implicit*/ constexpr StringRef(std::string_view Str) | ~ ^~~~ | ) /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1377:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1377 | for (l = 0; l < bmap->n_eq; ++l) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:248:14: error: expected type-specifier 248 | operator std::string_view() const { | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'sh_data_free': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2021:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2021 | for (i = 0; i < data->n; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'hash_basic_set': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2071:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2071 | for (i = 0; i < bset->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2078:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2078 | for (i = 0; i < bset->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'size_t llvm::StringRef::find(char, size_t) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: error: 'string_view' is not a member of 'std' 296 | return std::string_view(*this).find(C, From); | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: note: 'std::string_view' is only available from C++17 onwards /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'add_bounds': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2316:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2316 | for (j = 0; j < set->p[i]->n_eq; ++j) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::getAsInteger(unsigned int, T&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:470:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 470 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::consumeInteger(unsigned int, T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:499:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 499 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2323:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2323 | for (j = 0; j < set->p[i]->n_ineq; ++j) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'try_wrap_in_facets': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1894:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1894 | for (k = 0; k < info[i].bmap->n_eq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'uset_unshifted_simple_hull_from_constraints': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2803:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2803 | last_added = hull->n_ineq > hull_n_ineq; | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1913:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1913 | for (k = 0; k < info[i].bmap->n_ineq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'collect_inequalities': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2840:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2840 | for (j = 0; j < bset->n_eq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2845:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2845 | for (j = 0; j < bset->n_ineq; ++j) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:35: error: 'string_view' in namespace 'std' does not name a type 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:30: note: 'std::string_view' is only available from C++17 onwards 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'isl_set_bounded_simple_hull': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:3101:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3101 | for (j = 0; j < hull->n_eq; ++j) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: In constructor 'llvm::Twine::Twine(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:294:34: error: request for member 'data' in 'Str', which is of non-class type 'const int' 294 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:295:37: error: request for member 'length' in 'Str', which is of non-class type 'const int' 295 | LHS.ptrAndLength.length = Str.length(); | ^~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:3108:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3108 | if (j < hull->n_eq) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:3111:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3111 | for (j = 0; j < hull->n_ineq; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'can_wrap_in_set': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2070:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2070 | for (k = 0; k < info[i].bmap->n_eq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2092:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2092 | for (k = 0; k < info[i].bmap->n_ineq; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'all_cut_by_one': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2135:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2135 | for (l = 0; l < info[i].bmap->n_ineq; ++l) { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_node_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/simple_ilist.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h: In function 'decltype(auto) llvm::get(const llvm::PointerIntPair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (I == 0) | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'all_ineq_valid_or_single_adj_ineq': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2418:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2418 | for (i = 0; i < info->bmap->n_ineq; ++i) { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint16_t llvm::ByteSwap_16(uint16_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:51:60: error: 'byteswap' is not a member of 'llvm' 51 | inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint32_t llvm::ByteSwap_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:54:60: error: 'byteswap' is not a member of 'llvm' 54 | inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint64_t llvm::ByteSwap_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:57:60: error: 'byteswap' is not a member of 'llvm' 57 | inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned char llvm::sys::getSwappedBytes(unsigned char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:69:80: error: 'byteswap' is not a member of 'llvm' 69 | inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'signed char llvm::sys::getSwappedBytes(signed char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:70:80: error: 'byteswap' is not a member of 'llvm' 70 | inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'char llvm::sys::getSwappedBytes(char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:71:80: error: 'byteswap' is not a member of 'llvm' 71 | inline char getSwappedBytes( char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short unsigned int llvm::sys::getSwappedBytes(short unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:73:80: error: 'byteswap' is not a member of 'llvm' 73 | inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short int llvm::sys::getSwappedBytes(short int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:74:80: error: 'byteswap' is not a member of 'llvm' 74 | inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned int llvm::sys::getSwappedBytes(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:76:80: error: 'byteswap' is not a member of 'llvm' 76 | inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'int llvm::sys::getSwappedBytes(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:77:80: error: 'byteswap' is not a member of 'llvm' 77 | inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long unsigned int llvm::sys::getSwappedBytes(long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:79:80: error: 'byteswap' is not a member of 'llvm' 79 | inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long int llvm::sys::getSwappedBytes(long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:80:80: error: 'byteswap' is not a member of 'llvm' 80 | inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long unsigned int llvm::sys::getSwappedBytes(long long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:82:80: error: 'byteswap' is not a member of 'llvm' 82 | inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long int llvm::sys::getSwappedBytes(long long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:83:80: error: 'byteswap' is not a member of 'llvm' 83 | inline signed long long getSwappedBytes( signed long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'float llvm::sys::getSwappedBytes(float)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:91:17: error: 'byteswap' is not a member of 'llvm' 91 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'double llvm::sys::getSwappedBytes(double)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:101:17: error: 'byteswap' is not a member of 'llvm' 101 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'std::enable_if_t::value, T> llvm::sys::getSwappedBytes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:108:13: error: 'byteswap' is not a member of 'llvm' 108 | llvm::byteswap(static_cast>(C))); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:55: error: 'optional' in namespace 'std' does not name a template type 127 | template hash_code hash_value(const std::optional &arg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:50: note: 'std::optional' is only available from C++17 onwards 127 | template hash_code hash_value(const std::optional &arg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:63: error: expected ',' or '...' before '<' token 127 | template hash_code hash_value(const std::optional &arg); | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'harmonize_divs_with_hulls': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2871:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2871 | for (i = 0; i < info1->bmap->n_div; ++i) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(const std::tuple<_Tps ...>&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: error: 'apply' is not a member of 'std' 658 | return std::apply([](const auto &...xs) { return hash_combine(xs...); }, arg); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: note: 'std::apply' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:55: error: 'optional' in namespace 'std' does not name a template type 668 | template hash_code hash_value(const std::optional &arg) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:50: note: 'std::optional' is only available from C++17 onwards 668 | template hash_code hash_value(const std::optional &arg) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:63: error: expected ',' or '...' before '<' token 668 | template hash_code hash_value(const std::optional &arg) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2898:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2898 | if (i < info1->bmap->n_div) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:669:10: error: 'arg' was not declared in this scope 669 | return arg ? hash_combine(true, *arg) : hash_value(false); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:24: error: 'disjunction' in namespace 'std' does not name a template type 144 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:19: note: 'std::disjunction' is only available from C++17 onwards 144 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:26: error: 'conjunction' in namespace 'std' does not name a template type 149 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:21: note: 'std::conjunction' is only available from C++17 onwards 149 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'same_divs': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:37: error: 'is_one_of' was not declared in this scope 155 | : std::integral_constant::value && | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:55: error: template argument 2 is invalid 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:56: error: expected '{' before '::' token 155 | : std::integral_constant::value && | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2992:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2992 | for (i = 0; i < bmap1->n_div; ++i) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:23: error: 'is_function_v' is not a member of 'std'; did you mean 'is_function'? 224 | bool = std::is_function_v>>> | ^~~~~~~~~~~~~ | is_function /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected primary-expression before '>>' token 224 | bool = std::is_function_v>>> | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected '>' before '>>' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:8: error: 'optional' in namespace 'std' does not name a template type 230 | std::optional Obj; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:3: note: 'std::optional' is only available from C++17 onwards 230 | std::optional Obj; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'copy_ineq': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:23: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 232 | static_assert(!std::is_pointer_v, | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:46: error: expected primary-expression before '>' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:47: error: expected primary-expression before ',' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:3011:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3011 | for (i = n_ineq; i < bmap->n_ineq; ++i) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' 257 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 257 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:66: error: expected unqualified-id before '=' token 257 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' 263 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:64: error: template argument 1 is invalid 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:72: error: expected unqualified-id before '=' token 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::callable_detail::Callable >::Callable(const T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:26: error: class 'llvm::callable_detail::Callable >' does not have any field named 'Obj' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'tab_insert_divs': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:35: error: 'in_place' is not a member of 'std' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:3181:18: warning: ordered comparison of pointer with integer zero [-Wextra] 3181 | if (info->bmap < 0) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(const llvm::callable_detail::Callable >&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:5: error: 'Obj' was not declared in this scope 243 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:16: error: 'nullopt' is not a member of 'std' 243 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(llvm::callable_detail::Callable >&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:5: error: 'Obj' was not declared in this scope 250 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:16: error: 'nullopt' is not a member of 'std' 250 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:31: error: 'Obj' was not declared in this scope 268 | bool valid() const { return Obj != std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:43: error: 'nullopt' is not a member of 'std' 268 | bool valid() const { return Obj != std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:25: error: 'Obj' was not declared in this scope 269 | bool reset() { return Obj = std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:36: error: 'nullopt' is not a member of 'std' 269 | bool reset() { return Obj = std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::reference()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:271:34: error: 'Obj' was not declared in this scope 271 | operator reference() { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::const_reference() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:272:46: error: 'Obj' was not declared in this scope 272 | operator const_reference() const { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:38: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:67: error: expected primary-expression before '>' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:69: error: expected primary-expression before ';' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:284:3: error: 'StorageT' does not name a type 284 | StorageT Func = nullptr; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:13: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 307 | !std::is_same_v, Callable>, int | ^~~~~~~~~ | is_same /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:59: error: template argument 1 is invalid 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:308:7: error: expected unqualified-id before '=' token 308 | > = 0 | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' 313 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 313 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:66: error: expected unqualified-id before '=' token 313 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In static member function 'static constexpr auto llvm::callable_detail::Callable::convertIn(In&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:288:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 288 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:318:31: error: 'Func' was not declared in this scope 318 | bool valid() const { return Func != nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'void llvm::callable_detail::Callable::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:319:18: error: 'Func' was not declared in this scope 319 | void reset() { Func = nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable::operator const T&() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:322:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 322 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:324:14: error: 'Func' was not declared in this scope 324 | return Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:26: error: 'is_reference_v' is not a member of 'std'; did you mean 'is_reference'? 326 | static_assert(std::is_reference_v, | ^~~~~~~~~~~~~~ | is_reference /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:42: error: expected primary-expression before '>' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:43: error: expected primary-expression before ',' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:329:15: error: 'Func' was not declared in this scope 329 | return *Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:423:35: error: template argument 2 is invalid 423 | callable_detail::Callable F{}; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'auto llvm::reverse(ContainerTy&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:485:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 485 | if constexpr (has_rbegin::value) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_common::test_all_equals(const llvm::detail::zip_common&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:790:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 790 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_shortest::test(const llvm::detail::zip_shortest&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:835:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 835 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:60: error: 'optional' in namespace 'std' does not name a template type 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:55: note: 'std::optional' is only available from C++17 onwards 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:68: error: expected initializer before '<' token 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:21: error: 'optional' in namespace 'std' does not name a template type 935 | using type = std::optional::test(const llvm::detail::zip_longest_iterator&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:966:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 966 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:24: error: 'disjunction' in namespace 'std' does not name a template type 1511 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:19: note: 'std::disjunction' is only available from C++17 onwards 1511 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:26: error: 'conjunction' in namespace 'std' does not name a template type 1516 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:21: note: 'std::conjunction' is only available from C++17 onwards 1516 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:38: error: 'conjunction' in namespace 'std' does not name a template type 1675 | using sort_trivially_copyable = std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:33: note: 'std::conjunction' is only available from C++17 onwards 1675 | using sort_trivially_copyable = std::conjunction< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'void llvm::sort(IteratorTy, IteratorTy)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:25: error: 'sort_trivially_copyable' is not a member of 'llvm::detail' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:59: error: expected primary-expression before '>' token 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:62: error: '::value' has not been declared 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'decltype(auto) llvm::detail::get(const llvm::detail::result_pair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2173:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 2173 | if constexpr (i == 0) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::detail::all_of_zip_predicate_first(Predicate&&, Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: error: 'apply' is not a member of 'std' 2276 | if (!std::apply([&](auto &&...args) { return P(args...); }, *it)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: note: 'std::apply' is only available from C++17 onwards In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:26: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:27: error: invalid use of '::' 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:44: error: expected ';' at end of member declaration 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:33: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:34: error: invalid use of '::' 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:472:65: error: expected constructor, destructor, or type conversion before ';' token 472 | template ArrayRef(const T &OneElt) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:475:78: error: expected constructor, destructor, or type conversion before ';' token 475 | template ArrayRef(const T *data, size_t length) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:478:77: error: expected constructor, destructor, or type conversion before ';' token 478 | template ArrayRef(const T *data, const T *end) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:481:79: error: expected constructor, destructor, or type conversion before ';' token 481 | template ArrayRef(const SmallVectorImpl &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:485:56: error: expected constructor, destructor, or type conversion before ';' token 485 | ArrayRef(const SmallVector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:488:75: error: expected constructor, destructor, or type conversion before ';' token 488 | template ArrayRef(const std::vector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:492:55: error: expected constructor, destructor, or type conversion before ';' token 492 | ArrayRef(const std::array &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:495:72: error: expected constructor, destructor, or type conversion before ';' token 495 | template ArrayRef(const ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:498:66: error: expected constructor, destructor, or type conversion before ';' token 498 | template ArrayRef(ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:501:77: error: expected constructor, destructor, or type conversion before ';' token 501 | template ArrayRef(const T (&Arr)[N]) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:580:70: error: expected constructor, destructor, or type conversion before ';' token 580 | template MutableArrayRef(T &OneElt) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:585:64: error: expected constructor, destructor, or type conversion before ';' token 585 | MutableArrayRef(T *data, size_t length) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:589:65: error: expected constructor, destructor, or type conversion before ';' token 589 | MutableArrayRef(SmallVectorImpl &Vec) -> MutableArrayRef; | ^ [ 16%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/ScopDetection.cpp.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:592:64: error: expected constructor, destructor, or type conversion before ';' token 592 | MutableArrayRef(SmallVector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:595:80: error: expected constructor, destructor, or type conversion before ';' token 595 | template MutableArrayRef(std::vector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:599:63: error: expected constructor, destructor, or type conversion before ';' token 599 | MutableArrayRef(std::array &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:603:53: error: expected constructor, destructor, or type conversion before ';' token 603 | MutableArrayRef(T (&Arr)[N]) -> MutableArrayRef; | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' 266 | struct CastIsPossible> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:41: error: template argument 2 is invalid 266 | struct CastIsPossible> { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:45: error: expected unqualified-id before '>' token 266 | struct CastIsPossible> { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' 369 | std::optional, From, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:27: error: wrong number of template arguments (1, should be 3) 369 | std::optional, From, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:310:8: note: provided for 'template struct llvm::DefaultDoCastIfPossible' 310 | struct DefaultDoCastIfPossible { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:370:65: error: expected '{' before '>' token 370 | detail::SelfType>> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' 540 | struct CastInfo> : public OptionalValueCast { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:35: error: template argument 2 is invalid 540 | struct CastInfo> : public OptionalValueCast { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:39: error: expected unqualified-id before '>' token 540 | struct CastInfo> : public OptionalValueCast { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:10: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:24: error: expected primary-expression before '>' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:26: error: expected primary-expression before '||' token 595 | std::is_pointer_v || std::is_constructible_v; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:34: error: 'is_constructible_v' is not a member of 'std'; did you mean 'is_constructible'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~~~~~~~ | is_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:54: error: expected primary-expression before ',' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' 610 | template struct ValueIsPresent> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:59: error: template argument 1 is invalid 610 | template struct ValueIsPresent> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:60: error: expected unqualified-id before '>' token 610 | template struct ValueIsPresent> { | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected template-name before '<' token 117 | struct MaybeAlign : public std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected '{' before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected unqualified-id before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:217:35: error: 'A' has incomplete type 217 | inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } | ~~~~~~~~~~~^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:50: error: return type 'struct llvm::MaybeAlign' is incomplete 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:19: error: ambiguating new declaration of 'void llvm::decodeMaybeAlign(unsigned int)' 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:53:28: note: old declaration 'llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)' 53 | friend struct MaybeAlign decodeMaybeAlign(unsigned Value); | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'void llvm::decodeMaybeAlign(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:222:23: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 222 | return MaybeAlign(); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:224:7: error: 'uint8_t llvm::Align::ShiftValue' is private within this context 224 | Out.ShiftValue = Value - 1; | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:41:11: note: declared private here 41 | uint8_t ShiftValue = 0; /// The log2 of the required alignment. | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'unsigned int llvm::encode(llvm::Align)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:230:61: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 230 | inline unsigned encode(Align A) { return encode(MaybeAlign(A)); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:295:35: error: 'Lhs' has incomplete type 295 | inline bool operator==(MaybeAlign Lhs, Align Rhs) { return Lhs && *Lhs == Rhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:296:35: error: 'Lhs' has incomplete type 296 | inline bool operator!=(MaybeAlign Lhs, Align Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:297:46: error: 'Rhs' has incomplete type 297 | inline bool operator==(Align Lhs, MaybeAlign Rhs) { return Rhs == Lhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:298:46: error: 'Rhs' has incomplete type 298 | inline bool operator!=(Align Lhs, MaybeAlign Rhs) { return !(Rhs == Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:35: error: 'Lhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:51: error: 'Rhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:35: error: 'Lhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:51: error: 'Rhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:45: error: 'std::nullopt_t' has not been declared 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:35: error: 'Lhs' has incomplete type 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:45: error: 'std::nullopt_t' has not been declared 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:35: error: 'Lhs' has incomplete type 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:13: error: declaration of 'operator==' as non-function 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:51: error: expected primary-expression before 'Rhs' 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:13: error: declaration of 'operator!=' as non-function 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:51: error: expected primary-expression before 'Rhs' 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:46: error: 'std::optional' has not been declared 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:54: error: expected ',' or '...' before '<' token 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:44: error: 'std::optional' has not been declared 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:52: error: expected ',' or '...' before '<' token 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, long long unsigned int>, 4>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:289:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1058:70: error: 'nullopt' is not a member of 'std' 1058 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::MutableArrayRef llvm::MDNode::Header::operands()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1030:29: error: missing template arguments before '(' token 1030 | return MutableArrayRef( | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::ArrayRef llvm::MDNode::Header::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1037:22: error: missing template arguments before '(' token 1037 | return ArrayRef(reinterpret_cast(this) - SmallSize, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:327:45: error: 'nullopt' is not a member of 'std' 327 | return dropUnknownNonDebugMetadata(std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:330:48: error: missing template arguments before '(' token 330 | return dropUnknownNonDebugMetadata(ArrayRef(ID1)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:8: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:3: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:15: error: 'optional' in namespace 'std' does not name a template type 66 | inline std::optional getLevel(IDType ID) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:10: note: 'std::optional' is only available from C++17 onwards 66 | inline std::optional getLevel(IDType ID) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:15: error: 'optional' in namespace 'std' does not name a template type 74 | inline std::optional parseLevel(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:10: note: 'std::optional' is only available from C++17 onwards 74 | inline std::optional parseLevel(char C) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:18: error: 'optional' in namespace 'std' does not name a template type 141 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:13: note: 'std::optional' is only available from C++17 onwards 141 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:26: error: expected ',' or '...' before '<' token 141 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' 234 | std::pair> getAllocSizeArgs() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:45: error: template argument 2 is invalid 234 | std::pair> getAllocSizeArgs() const; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:8: error: 'optional' in namespace 'std' does not name a template type 241 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:3: note: 'std::optional' is only available from C++17 onwards 241 | std::optional getVScaleRangeMax() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:8: error: 'optional' in namespace 'std' does not name a template type 379 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:3: note: 'std::optional' is only available from C++17 onwards 379 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:8: error: 'optional' in namespace 'std' does not name a template type 382 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:3: note: 'std::optional' is only available from C++17 onwards 382 | std::optional getVScaleRangeMax() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:36: error: 'optional' in namespace 'std' does not name a template type 735 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:31: note: 'std::optional' is only available from C++17 onwards 735 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:44: error: expected ',' or '...' before '<' token 735 | const std::optional &NumElemsArg); | ^ [ 16%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ctx.c.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:8: error: 'optional' in namespace 'std' does not name a template type 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:3: note: 'std::optional' is only available from C++17 onwards 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:44: error: 'optional' in namespace 'std' does not name a template type 1197 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:39: note: 'std::optional' is only available from C++17 onwards 1197 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:52: error: expected ',' or '...' before '<' token 1197 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:40: error: 'std::optional' has not been declared 1201 | std::optional MaxValue); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:48: error: expected ',' or '...' before '<' token 1201 | std::optional MaxValue); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1114:35: error: return type 'struct llvm::MaybeAlign' is incomplete 1114 | MaybeAlign getAlignment() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:70: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1119:40: error: return type 'struct llvm::MaybeAlign' is incomplete 1119 | MaybeAlign getStackAlignment() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getStackAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:75: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1126:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1126 | return getRawIntAttr(Attribute::Dereferenceable).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableOrNullBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1132:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1132 | return getRawIntAttr(Attribute::DereferenceableOrNull).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1172:45: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1172 | return addAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addStackAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1184:50: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1184 | return addStackAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:38: error: 'string_view' in namespace 'std' does not name a type 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:33: note: 'std::string_view' is only available from C++17 onwards 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In member function 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:22: error: request for member 'data' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:34: error: request for member 'length' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:16: error: 'optional' in namespace 'std' does not name a template type 459 | mutable std::optional HasColors; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:11: note: 'std::optional' is only available from C++17 onwards 459 | mutable std::optional HasColors; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:47: error: 'std::nullopt_t' has not been declared 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:53: error: 'optional' in namespace 'std' does not name a template type 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:48: note: 'std::optional' is only available from C++17 onwards 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:61: error: expected ',' or '...' before '<' token 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In function 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:762:7: error: 'O' was not declared in this scope; did you mean 'OS'? 762 | if (O) | ^ | OS /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:765:16: error: 'nullopt' is not a member of 'std' 765 | OS << std::nullopt; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:70: error: template argument 1 is invalid 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:73: error: expected unqualified-id before '>' token 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:70: error: template argument 1 is invalid 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:73: error: expected unqualified-id before '>' token 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 180 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:37: error: expected primary-expression before '>' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:38: error: expected primary-expression before ',' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 246 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:37: error: expected primary-expression before '>' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:38: error: expected primary-expression before ',' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 259 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:37: error: expected primary-expression before '>' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:38: error: expected primary-expression before ',' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 272 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:37: error: expected primary-expression before '>' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:38: error: expected primary-expression before ',' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::bit_width(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 282 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:37: error: expected primary-expression before '>' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:38: error: expected primary-expression before ',' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_floor(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 292 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:37: error: expected primary-expression before '>' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:38: error: expected primary-expression before ',' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_ceil(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 307 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:37: error: expected primary-expression before '>' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:38: error: expected primary-expression before ',' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:70: error: template argument 1 is invalid 348 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:73: error: expected unqualified-id before '>' token 348 | template >> | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint16_t llvm::ByteSwap_16(uint16_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:51:60: error: 'byteswap' is not a member of 'llvm' 51 | inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint32_t llvm::ByteSwap_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:54:60: error: 'byteswap' is not a member of 'llvm' 54 | inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint64_t llvm::ByteSwap_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:57:60: error: 'byteswap' is not a member of 'llvm' 57 | inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned char llvm::sys::getSwappedBytes(unsigned char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:69:80: error: 'byteswap' is not a member of 'llvm' 69 | inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'signed char llvm::sys::getSwappedBytes(signed char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:70:80: error: 'byteswap' is not a member of 'llvm' 70 | inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'char llvm::sys::getSwappedBytes(char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:71:80: error: 'byteswap' is not a member of 'llvm' 71 | inline char getSwappedBytes( char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short unsigned int llvm::sys::getSwappedBytes(short unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:73:80: error: 'byteswap' is not a member of 'llvm' 73 | inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short int llvm::sys::getSwappedBytes(short int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:74:80: error: 'byteswap' is not a member of 'llvm' 74 | inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned int llvm::sys::getSwappedBytes(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:76:80: error: 'byteswap' is not a member of 'llvm' 76 | inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'int llvm::sys::getSwappedBytes(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:77:80: error: 'byteswap' is not a member of 'llvm' 77 | inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long unsigned int llvm::sys::getSwappedBytes(long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:79:80: error: 'byteswap' is not a member of 'llvm' 79 | inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long int llvm::sys::getSwappedBytes(long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:80:80: error: 'byteswap' is not a member of 'llvm' 80 | inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long unsigned int llvm::sys::getSwappedBytes(long long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:82:80: error: 'byteswap' is not a member of 'llvm' 82 | inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long int llvm::sys::getSwappedBytes(long long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:83:80: error: 'byteswap' is not a member of 'llvm' 83 | inline signed long long getSwappedBytes( signed long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'float llvm::sys::getSwappedBytes(float)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:91:17: error: 'byteswap' is not a member of 'llvm' 91 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'double llvm::sys::getSwappedBytes(double)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:101:17: error: 'byteswap' is not a member of 'llvm' 101 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'std::enable_if_t::value, T> llvm::sys::getSwappedBytes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:108:13: error: 'byteswap' is not a member of 'llvm' 108 | llvm::byteswap(static_cast>(C))); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h: In member function 'llvm::ArrayRef llvm::Type::subtypes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:355:20: error: missing template arguments before '(' token 355 | return ArrayRef(subtype_begin(), subtype_end()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::FunctionType::params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:131:20: error: missing template arguments before '(' token 131 | return ArrayRef(param_begin(), param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:27: error: 'are_base_of' was not declared in this scope 245 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 245 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:59: error: expected ';' before ',' token 245 | static std::enable_if_t::value, StructType *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:27: error: 'are_base_of' was not declared in this scope 262 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 262 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:59: error: expected ';' before ',' token 262 | static std::enable_if_t::value, StructType *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:267:3: error: redeclaration of 'template int llvm::StructType::value' 267 | } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:54: note: previous declaration 'template int llvm::StructType::value' 245 | static std::enable_if_t::value, StructType *> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:20: error: 'are_base_of' was not declared in this scope 305 | std::enable_if_t::value, void> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:44: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 305 | std::enable_if_t::value, void> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:52: error: expected ';' before ',' token 305 | std::enable_if_t::value, void> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:47: error: data member 'value' cannot be a member template 305 | std::enable_if_t::value, void> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::StructType::elements() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:320:20: error: missing template arguments before '(' token 320 | return ArrayRef(element_begin(), element_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:754:59: error: 'nullopt' is not a member of 'std' 754 | ArrayRef Types = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:755:60: error: 'nullopt' is not a member of 'std' 755 | ArrayRef Ints = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::type_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:765:20: error: missing template arguments before '(' token 765 | return ArrayRef(type_param_begin(), type_param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::int_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:780:20: error: missing template arguments before '(' token 780 | return ArrayRef(IntParams, getNumIntParameters()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:8: error: 'optional' in namespace 'std' does not name a template type 642 | std::optional getAbsoluteSymbolRange() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:3: note: 'std::optional' is only available from C++17 onwards 642 | std::optional getAbsoluteSymbolRange() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'uint64_t llvm::GlobalObject::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:16: error: variable 'llvm::MaybeAlign Align' has initializer but incomplete type 71 | MaybeAlign Align = getAlign(); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:33: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 71 | MaybeAlign Align = getAlign(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:79:31: error: return type 'struct llvm::MaybeAlign' is incomplete 79 | MaybeAlign getAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'void llvm::GlobalObject::getAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:82:12: error: 'decodeMaybeAlign' was not declared in this scope 82 | return decodeMaybeAlign(AlignmentData); | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx.c:10: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:55: error: 'optional' in namespace 'std' does not name a template type 127 | template hash_code hash_value(const std::optional &arg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:50: note: 'std::optional' is only available from C++17 onwards 127 | template hash_code hash_value(const std::optional &arg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:63: error: expected ',' or '...' before '<' token 127 | template hash_code hash_value(const std::optional &arg); | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:8: error: 'optional' in namespace 'std' does not name a template type 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:3: note: 'std::optional' is only available from C++17 onwards 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:8: error: 'optional' in namespace 'std' does not name a template type 301 | std::optional getSectionPrefix() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:3: note: 'std::optional' is only available from C++17 onwards 301 | std::optional getSectionPrefix() const; | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'bool llvm::Function::hasProfileData(bool) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:290:12: error: 'getEntryCount' was not declared in this scope; did you mean 'setEntryCount'? 290 | return getEntryCount(IncludeSynthetic).has_value(); | ^~~~~~~~~~~~~ | setEntryCount /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:425:38: error: return type 'struct llvm::MaybeAlign' is incomplete 425 | MaybeAlign getFnStackAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getFnStackAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:426:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 426 | return AttributeSets.getFnStackAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:440:50: error: return type 'struct llvm::MaybeAlign' is incomplete 440 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:441:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 441 | return AttributeSets.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:444:55: error: return type 'struct llvm::MaybeAlign' is incomplete 444 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:445:54: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 445 | return AttributeSets.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(const std::tuple<_Tps ...>&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: error: 'apply' is not a member of 'std' 658 | return std::apply([](const auto &...xs) { return hash_combine(xs...); }, arg); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: note: 'std::apply' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:55: error: 'optional' in namespace 'std' does not name a template type 668 | template hash_code hash_value(const std::optional &arg) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:50: note: 'std::optional' is only available from C++17 onwards 668 | template hash_code hash_value(const std::optional &arg) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:63: error: expected ',' or '...' before '<' token 668 | template hash_code hash_value(const std::optional &arg) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:669:10: error: 'arg' was not declared in this scope 669 | return arg ? hash_combine(true, *arg) : hash_value(false); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:35: error: 'optional' in namespace 'std' does not name a template type 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:30: note: 'std::optional' is only available from C++17 onwards 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:43: error: expected ',' or '...' before '<' token 46 | auto transformOptional(const std::optional &O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:13: error: 'optional' in namespace 'std' does not name a template type 47 | -> std::optional { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:8: note: 'std::optional' is only available from C++17 onwards 47 | -> std::optional { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:21: error: expected initializer before '<' token 47 | -> std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: error: 'optional' is not a member of 'std' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:39: error: expected primary-expression before '>' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:43: error: label 'O' referenced outside of any function 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:46: error: expected primary-expression before 'const' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:63: error: expression list treated as compound expression in initializer [-fpermissive] 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:64: error: expected ';' before '->' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ | ; 57 | -> std::optional { | ~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:12: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 42 | std::is_integral_v, | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:55: error: expected '(' before '>' token 42 | std::is_integral_v, | ^ | ( /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:56: error: expected primary-expression before ',' token 42 | std::is_integral_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: In member function 'ValueT llvm::MapVector::lookup(const KeyT&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:24: error: 'is_copy_constructible_v' is not a member of 'std'; did you mean 'is_copy_constructible'? 112 | static_assert(std::is_copy_constructible_v, | ^~~~~~~~~~~~~~~~~~~~~~~ | is_copy_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:54: error: expected primary-expression before '>' token 112 | static_assert(std::is_copy_constructible_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:55: error: expected primary-expression before ',' token 112 | static_assert(std::is_copy_constructible_v, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h:107:1: warning: inline variables are only available with '-std=c++17' or '-std=gnu++17' 107 | inline constexpr force_iteration_on_noniterable_enum_t | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:43: error: template argument 1 is invalid 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h: In function 'decltype(auto) llvm::get(const llvm::StringMapEntry&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:155:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 155 | if constexpr (Index == 0) | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:8: error: 'optional' in namespace 'std' does not name a template type 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:3: note: 'std::optional' is only available from C++17 onwards 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:8: error: 'optional' in namespace 'std' does not name a template type 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:3: note: 'std::optional' is only available from C++17 onwards 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1743:34: error: return type 'struct llvm::MaybeAlign' is incomplete 1743 | MaybeAlign getRetAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getRetAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1744:44: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1744 | if (auto Align = Attrs.getRetAlignment()) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1747:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1747 | return F->getAttributes().getRetAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1748:17: error: 'nullopt' is not a member of 'std' 1748 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1752:50: error: return type 'struct llvm::MaybeAlign' is incomplete 1752 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1753:41: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1753 | return Attrs.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1756:55: error: return type 'struct llvm::MaybeAlign' is incomplete 1756 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1757:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1757 | return Attrs.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:8: error: 'optional' in namespace 'std' does not name a template type 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:3: note: 'std::optional' is only available from C++17 onwards 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:8: error: 'optional' in namespace 'std' does not name a template type 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:3: note: 'std::optional' is only available from C++17 onwards 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1541:69: error: 'nullopt' is not a member of 'std' 1541 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1581:69: error: 'nullopt' is not a member of 'std' 1581 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1642:58: error: 'nullopt' is not a member of 'std' 1642 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1647:58: error: 'nullopt' is not a member of 'std' 1647 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In constructor 'llvm::CallInst::CallInst(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1496:39: error: 'nullopt' is not a member of 'std' 1496 | : CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore) {} | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1537:39: error: 'nullopt' is not a member of 'std' 1537 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1560:39: error: 'nullopt' is not a member of 'std' 1560 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertAtEnd); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:24: error: 'disjunction' in namespace 'std' does not name a template type 144 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:19: note: 'std::disjunction' is only available from C++17 onwards 144 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:26: error: 'conjunction' in namespace 'std' does not name a template type 149 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:21: note: 'std::conjunction' is only available from C++17 onwards 149 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:37: error: 'is_one_of' was not declared in this scope 155 | : std::integral_constant::value && | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:55: error: template argument 2 is invalid 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:56: error: expected '{' before '::' token 155 | : std::integral_constant::value && | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:23: error: 'is_function_v' is not a member of 'std'; did you mean 'is_function'? 224 | bool = std::is_function_v>>> | ^~~~~~~~~~~~~ | is_function /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected primary-expression before '>>' token 224 | bool = std::is_function_v>>> | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected '>' before '>>' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:8: error: 'optional' in namespace 'std' does not name a template type 230 | std::optional Obj; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:3: note: 'std::optional' is only available from C++17 onwards 230 | std::optional Obj; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:23: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 232 | static_assert(!std::is_pointer_v, | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:46: error: expected primary-expression before '>' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:47: error: expected primary-expression before ',' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' 257 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 257 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/char_traits.h:39, from /usr/include/g++/string:40, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:66: error: expected unqualified-id before '=' token 257 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' 263 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:64: error: template argument 1 is invalid 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:72: error: expected unqualified-id before '=' token 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::callable_detail::Callable >::Callable(const T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:26: error: class 'llvm::callable_detail::Callable >' does not have any field named 'Obj' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:35: error: 'in_place' is not a member of 'std' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(const llvm::callable_detail::Callable >&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:5: error: 'Obj' was not declared in this scope 243 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:16: error: 'nullopt' is not a member of 'std' 243 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(llvm::callable_detail::Callable >&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:5: error: 'Obj' was not declared in this scope 250 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:16: error: 'nullopt' is not a member of 'std' 250 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:31: error: 'Obj' was not declared in this scope 268 | bool valid() const { return Obj != std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:43: error: 'nullopt' is not a member of 'std' 268 | bool valid() const { return Obj != std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:25: error: 'Obj' was not declared in this scope 269 | bool reset() { return Obj = std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:36: error: 'nullopt' is not a member of 'std' 269 | bool reset() { return Obj = std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::reference()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:271:34: error: 'Obj' was not declared in this scope 271 | operator reference() { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::const_reference() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:272:46: error: 'Obj' was not declared in this scope 272 | operator const_reference() const { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:38: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:67: error: expected primary-expression before '>' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:69: error: expected primary-expression before ';' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:284:3: error: 'StorageT' does not name a type 284 | StorageT Func = nullptr; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:13: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 307 | !std::is_same_v, Callable>, int | ^~~~~~~~~ | is_same /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:59: error: template argument 1 is invalid 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:308:7: error: expected unqualified-id before '=' token 308 | > = 0 | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' 313 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 313 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/char_traits.h:39, from /usr/include/g++/string:40, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:66: error: expected unqualified-id before '=' token 313 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In static member function 'static constexpr auto llvm::callable_detail::Callable::convertIn(In&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:288:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 288 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:318:31: error: 'Func' was not declared in this scope 318 | bool valid() const { return Func != nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'void llvm::callable_detail::Callable::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:319:18: error: 'Func' was not declared in this scope 319 | void reset() { Func = nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable::operator const T&() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:322:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 322 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:324:14: error: 'Func' was not declared in this scope 324 | return Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:26: error: 'is_reference_v' is not a member of 'std'; did you mean 'is_reference'? 326 | static_assert(std::is_reference_v, | ^~~~~~~~~~~~~~ | is_reference /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:42: error: expected primary-expression before '>' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:43: error: expected primary-expression before ',' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:329:15: error: 'Func' was not declared in this scope 329 | return *Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:423:35: error: template argument 2 is invalid 423 | callable_detail::Callable F{}; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'auto llvm::reverse(ContainerTy&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:485:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 485 | if constexpr (has_rbegin::value) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_common::test_all_equals(const llvm::detail::zip_common&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:790:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 790 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_shortest::test(const llvm::detail::zip_shortest&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:835:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 835 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:60: error: 'optional' in namespace 'std' does not name a template type 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:55: note: 'std::optional' is only available from C++17 onwards 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:68: error: expected initializer before '<' token 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:21: error: 'optional' in namespace 'std' does not name a template type 935 | using type = std::optional::test(const llvm::detail::zip_longest_iterator&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:966:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 966 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:24: error: 'disjunction' in namespace 'std' does not name a template type 1511 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:19: note: 'std::disjunction' is only available from C++17 onwards 1511 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:26: error: 'conjunction' in namespace 'std' does not name a template type 1516 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:21: note: 'std::conjunction' is only available from C++17 onwards 1516 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:38: error: 'conjunction' in namespace 'std' does not name a template type 1675 | using sort_trivially_copyable = std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:33: note: 'std::conjunction' is only available from C++17 onwards 1675 | using sort_trivially_copyable = std::conjunction< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'void llvm::sort(IteratorTy, IteratorTy)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:25: error: 'sort_trivially_copyable' is not a member of 'llvm::detail' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:59: error: expected primary-expression before '>' token 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:62: error: '::value' has not been declared 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'decltype(auto) llvm::detail::get(const llvm::detail::result_pair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2173:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 2173 | if constexpr (i == 0) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::detail::all_of_zip_predicate_first(Predicate&&, Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: error: 'apply' is not a member of 'std' 2276 | if (!std::apply([&](auto &&...args) { return P(args...); }, *it)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: note: 'std::apply' is only available from C++17 onwards [ 16%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_deprecated.c.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h: In static member function 'static void llvm::SmallVectorTemplateBase >::uninitialized_move(It1, It1, It2)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h:352:10: error: 'uninitialized_move' is not a member of 'std'; did you mean 'uninitialized_copy'? 352 | std::uninitialized_move(I, E, Dest); | ^~~~~~~~~~~~~~~~~~ | uninitialized_copy /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:8: error: 'optional' in namespace 'std' does not name a template type 3627 | std::optional> Weights; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:3: note: 'std::optional' is only available from C++17 onwards 3627 | std::optional> Weights; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:30: error: 'optional' in namespace 'std' does not name a template type 3636 | using CaseWeightOpt = std::optional; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:25: note: 'std::optional' is only available from C++17 onwards 3636 | using CaseWeightOpt = std::optional; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3654:54: error: 'CaseWeightOpt' has not been declared 3654 | void addCase(ConstantInt *OnVal, BasicBlock *Dest, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3660:41: error: 'CaseWeightOpt' has not been declared 3660 | void setSuccessorWeight(unsigned idx, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3661:3: error: 'CaseWeightOpt' does not name a type 3661 | CaseWeightOpt getSuccessorWeight(unsigned idx); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3663:10: error: 'CaseWeightOpt' does not name a type 3663 | static CaseWeightOpt getSuccessorWeight(const SwitchInst &SI, unsigned idx); | ^~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' 294 | template struct DenseMapInfo> { | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: expected parameter pack before '...' 294 | template struct DenseMapInfo> { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: template argument 1 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:65: error: expected unqualified-id before '>' token 294 | template struct DenseMapInfo> { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3870:71: error: 'nullopt' is not a member of 'std' 3870 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3914:71: error: 'nullopt' is not a member of 'std' 3914 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3864:64: error: 'nullopt' is not a member of 'std' 3864 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3887:64: error: 'nullopt' is not a member of 'std' 3887 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionCallee, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3909:43: error: 'nullopt' is not a member of 'std' 3909 | IfException, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4077:52: error: 'nullopt' is not a member of 'std' 4077 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4125:71: error: 'nullopt' is not a member of 'std' 4125 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4070:69: error: 'nullopt' is not a member of 'std' 4070 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:70: error: template argument 1 is invalid 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:73: error: expected unqualified-id before '>' token 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:70: error: template argument 1 is invalid 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:73: error: expected unqualified-id before '>' token 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 180 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:37: error: expected primary-expression before '>' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:38: error: expected primary-expression before ',' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 246 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:37: error: expected primary-expression before '>' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:38: error: expected primary-expression before ',' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4095:69: error: 'nullopt' is not a member of 'std' 4095 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 259 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:37: error: expected primary-expression before '>' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:38: error: expected primary-expression before ',' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 272 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:37: error: expected primary-expression before '>' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:38: error: expected primary-expression before ',' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::bit_width(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 282 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:37: error: expected primary-expression before '>' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:38: error: expected primary-expression before ',' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_floor(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 292 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:37: error: expected primary-expression before '>' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:38: error: expected primary-expression before ',' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_ceil(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 307 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:37: error: expected primary-expression before '>' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:38: error: expected primary-expression before ',' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:70: error: template argument 1 is invalid 348 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:73: error: expected unqualified-id before '>' token 348 | template >> | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 78 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:37: error: expected primary-expression before '>' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:38: error: expected primary-expression before ',' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 90 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:37: error: expected primary-expression before '>' token 90 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:38: error: expected primary-expression before ',' token 90 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isInt(int64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:212:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 212 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:214:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 214 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:216:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 216 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:218:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 218 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isUInt(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:238:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 238 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:240:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 240 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:242:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 242 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:325:16: error: 'has_single_bit' is not a member of 'llvm' 325 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:330:16: error: 'has_single_bit' is not a member of 'llvm' 330 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 341 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:37: error: expected primary-expression before '>' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:38: error: expected primary-expression before ',' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 354 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:37: error: expected primary-expression before '>' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:38: error: expected primary-expression before ',' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countPopulation(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 364 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:37: error: expected primary-expression before '>' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:38: error: expected primary-expression before ',' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:366:26: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 366 | return (unsigned)llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_32(uint32_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:379:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 379 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_64(uint64_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:392:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 392 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4506:63: error: 'nullopt' is not a member of 'std' 4506 | ArrayRef Args = std::nullopt, | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:38: error: template argument 1 is invalid 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:39: error: expected unqualified-id before ',' token 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' 294 | template struct DenseMapInfo> { | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: expected parameter pack before '...' 294 | template struct DenseMapInfo> { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: template argument 1 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:65: error: expected unqualified-id before '>' token 294 | template struct DenseMapInfo> { | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:104:54: error: expected ')' before 'Str' 104 | /*implicit*/ constexpr StringRef(std::string_view Str) | ~ ^~~~ | ) /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:248:14: error: expected type-specifier 248 | operator std::string_view() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:13: error: 'optional' in namespace 'std' does not name a template type 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:8: note: 'std::optional' is only available from C++17 onwards 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'size_t llvm::StringRef::find(char, size_t) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: error: 'string_view' is not a member of 'std' 296 | return std::string_view(*this).find(C, From); | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: note: 'std::string_view' is only available from C++17 onwards In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:44, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::ArrayRef() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:138:19: error: 'nullopt' is not a member of 'std' 138 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::MutableArrayRef()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:147:19: error: 'nullopt' is not a member of 'std' 147 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::getAsInteger(unsigned int, T&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:470:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 470 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::consumeInteger(unsigned int, T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:499:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 499 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:8: error: 'optional' in namespace 'std' does not name a template type 1506 | std::optional tryZExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:3: note: 'std::optional' is only available from C++17 onwards 1506 | std::optional tryZExtValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:8: error: 'optional' in namespace 'std' does not name a template type 1528 | std::optional trySExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:3: note: 'std::optional' is only available from C++17 onwards 1528 | std::optional trySExtValue() const { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 78 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:37: error: expected primary-expression before '>' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:38: error: expected primary-expression before ',' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: In member function 'unsigned int llvm::APInt::countPopulation() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1621:20: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 1621 | return llvm::popcount(U.VAL); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 90 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:37: error: expected primary-expression before '>' token 90 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:38: error: expected primary-expression before ',' token 90 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:6: error: 'optional' in namespace 'std' does not name a template type 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:1: note: 'std::optional' is only available from C++17 onwards 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:6: error: 'optional' in namespace 'std' does not name a template type 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:1: note: 'std::optional' is only available from C++17 onwards 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isInt(int64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:212:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 212 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:214:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 214 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:216:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 216 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:218:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 218 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isUInt(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:238:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 238 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:240:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 240 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:242:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 242 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:325:16: error: 'has_single_bit' is not a member of 'llvm' 325 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:330:16: error: 'has_single_bit' is not a member of 'llvm' 330 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:127:14: error: field 'StackNaturalAlign' has incomplete type 'llvm::MaybeAlign' 127 | MaybeAlign StackNaturalAlign; | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:131:14: error: field 'FunctionPtrAlign' has incomplete type 'llvm::MaybeAlign' 131 | MaybeAlign FunctionPtrAlign; | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 341 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:37: error: expected primary-expression before '>' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:38: error: expected primary-expression before ',' token 341 | static_assert(std::is_unsigned_v, | ^ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 354 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:37: error: expected primary-expression before '>' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:38: error: expected primary-expression before ',' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countPopulation(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 364 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:37: error: expected primary-expression before '>' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:38: error: expected primary-expression before ',' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:366:26: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 366 | return (unsigned)llvm::popcount(Value); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_32(uint32_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:379:19: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 379 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_64(uint64_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:392:19: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 392 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:38: error: template argument 1 is invalid 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:39: error: expected unqualified-id before ',' token 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:8: error: 'optional' in namespace 'std' does not name a template type 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:3: note: 'std::optional' is only available from C++17 onwards 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:288:42: error: return type 'struct llvm::MaybeAlign' is incomplete 288 | MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; } | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:43: error: template argument 1 is invalid 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h: In function 'decltype(auto) llvm::get(const llvm::StringMapEntry&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:155:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 155 | if constexpr (Index == 0) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:534:54: error: 'Alignment' has incomplete type 534 | inline Align getValueOrABITypeAlignment(MaybeAlign Alignment, | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ [ 18%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_dim_map.c.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::MutableArrayRef llvm::StructLayout::getMemberOffsets()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:33: error: missing template arguments before '(' token 647 | return llvm::MutableArrayRef(getTrailingObjects(), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::ArrayRef llvm::StructLayout::getMemberOffsets() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:652:26: error: missing template arguments before '(' token 652 | return llvm::ArrayRef(getTrailingObjects(), NumElements); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:28, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:23: error: 'std::optional' has not been declared 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:31: error: expected ',' or '...' before '<' token 62 | std::optional AddressSpace = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:18: error: default argument missing for parameter 9 of 'llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, const llvm::Twine&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, int)' 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:59:54: note: ...following parameter 6 which has a default argument 59 | Constant *Initializer, const Twine &Name = "", | ~~~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CBindingWrapping.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' 266 | struct CastIsPossible> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:41: error: template argument 2 is invalid 266 | struct CastIsPossible> { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:45: error: expected unqualified-id before '>' token 266 | struct CastIsPossible> { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' 369 | std::optional, From, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:27: error: wrong number of template arguments (1, should be 3) 369 | std::optional, From, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:310:8: note: provided for 'template struct llvm::DefaultDoCastIfPossible' 310 | struct DefaultDoCastIfPossible { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:370:65: error: expected '{' before '>' token 370 | detail::SelfType>> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' 540 | struct CastInfo> : public OptionalValueCast { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:35: error: template argument 2 is invalid 540 | struct CastInfo> : public OptionalValueCast { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:39: error: expected unqualified-id before '>' token 540 | struct CastInfo> : public OptionalValueCast { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:10: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:24: error: expected primary-expression before '>' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:26: error: expected primary-expression before '||' token 595 | std::is_pointer_v || std::is_constructible_v; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:34: error: 'is_constructible_v' is not a member of 'std'; did you mean 'is_constructible'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~~~~~~~ | is_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:54: error: expected primary-expression before ',' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' 610 | template struct ValueIsPresent> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:59: error: template argument 1 is invalid 610 | template struct ValueIsPresent> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:60: error: expected unqualified-id before '>' token 610 | template struct ValueIsPresent> { | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:26: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:27: error: invalid use of '::' 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:44: error: expected ';' at end of member declaration 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:33: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:34: error: invalid use of '::' 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:472:65: error: expected constructor, destructor, or type conversion before ';' token 472 | template ArrayRef(const T &OneElt) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:475:78: error: expected constructor, destructor, or type conversion before ';' token 475 | template ArrayRef(const T *data, size_t length) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:478:77: error: expected constructor, destructor, or type conversion before ';' token 478 | template ArrayRef(const T *data, const T *end) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:481:79: error: expected constructor, destructor, or type conversion before ';' token 481 | template ArrayRef(const SmallVectorImpl &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:485:56: error: expected constructor, destructor, or type conversion before ';' token 485 | ArrayRef(const SmallVector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:488:75: error: expected constructor, destructor, or type conversion before ';' token 488 | template ArrayRef(const std::vector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:492:55: error: expected constructor, destructor, or type conversion before ';' token 492 | ArrayRef(const std::array &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:495:72: error: expected constructor, destructor, or type conversion before ';' token 495 | template ArrayRef(const ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:498:66: error: expected constructor, destructor, or type conversion before ';' token 498 | template ArrayRef(ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:501:77: error: expected constructor, destructor, or type conversion before ';' token 501 | template ArrayRef(const T (&Arr)[N]) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:580:70: error: expected constructor, destructor, or type conversion before ';' token 580 | template MutableArrayRef(T &OneElt) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:585:64: error: expected constructor, destructor, or type conversion before ';' token 585 | MutableArrayRef(T *data, size_t length) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:589:65: error: expected constructor, destructor, or type conversion before ';' token 589 | MutableArrayRef(SmallVectorImpl &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:592:64: error: expected constructor, destructor, or type conversion before ';' token 592 | MutableArrayRef(SmallVector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:595:80: error: expected constructor, destructor, or type conversion before ';' token 595 | template MutableArrayRef(std::vector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:599:63: error: expected constructor, destructor, or type conversion before ';' token 599 | MutableArrayRef(std::array &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:603:53: error: expected constructor, destructor, or type conversion before ';' token 603 | MutableArrayRef(T (&Arr)[N]) -> MutableArrayRef; | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h: In member function 'llvm::BitVector::size_type llvm::BitVector::count() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:158:24: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 158 | NumBits += llvm::popcount(Bit); | ^~~~~~~~ | count In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:10: error: 'optional' in namespace 'std' does not name a template type 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:5: note: 'std::optional' is only available from C++17 onwards 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:8: error: 'optional' in namespace 'std' does not name a template type 152 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:3: note: 'std::optional' is only available from C++17 onwards 152 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:153:73: error: expected unqualified-id before ')' token 153 | get_threadpool_strategy(StringRef Num, ThreadPoolStrategy Default = {}); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: In function 'llvm::ThreadPoolStrategy llvm::heavyweight_hardware_concurrency(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: error: 'optional' is not a member of 'std' 174 | std::optional S = | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:37: error: expected primary-expression before '>' token 174 | std::optional S = | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:39: error: 'S' was not declared in this scope 174 | std::optional S = | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:175:9: error: 'get_threadpool_strategy' was not declared in this scope; did you mean 'ThreadPoolStrategy'? 175 | get_threadpool_strategy(Num, heavyweight_hardware_concurrency()); | ^~~~~~~~~~~~~~~~~~~~~~~ | ThreadPoolStrategy In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:8: error: 'optional' in namespace 'std' does not name a template type 866 | std::optional getCodeModel() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:3: note: 'std::optional' is only available from C++17 onwards 866 | std::optional getCodeModel() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleIdentifier(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: note: candidate expects 3 arguments, 1 provided 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setSourceFileName(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: note: candidate expects 3 arguments, 1 provided 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setTargetTriple(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: note: candidate expects 3 arguments, 1 provided 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, [ 18%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/ScopDetectionDiagnostic.cpp.o from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleInlineAsm(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: note: candidate expects 3 arguments, 1 provided 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' 73 | std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: error: 'negation' is not a member of 'std' 74 | std::negation, Any>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: note: 'std::negation' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:68: error: template argument 1 is invalid 74 | std::negation, Any>>, | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:26: error: 'std::negation' has not been declared 85 | std::negation>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:34: error: expected '>' before '<' token 85 | std::negation>>, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:86:67: error: 'value' in namespace '::' does not name a type 86 | std::is_copy_constructible>>::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std' 68 | using EnableIfCallable = std::enable_if_t>::value>; | ^~ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/type_traits:2554:11: note: provided for 'template using enable_if_t = typename std::enable_if::type' 2554 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; | ^~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:15: error: 'llvm::detail::EnableIfCallable' has not been declared 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:31: error: expected ',' or '...' before '<' token 378 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:377:7: note: ...following parameter 2 which has a default argument 377 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:15: error: 'llvm::detail::EnableIfCallable' has not been declared 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:31: error: expected ',' or '...' before '<' token 404 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:403:7: note: ...following parameter 2 which has a default argument 403 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:8: error: 'shared_mutex' in namespace 'std' does not name a type 96 | std::shared_mutex impl; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:3: note: 'std::shared_mutex' is only available from C++17 onwards 96 | std::shared_mutex impl; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:106:7: error: 'impl' was not declared in this scope 106 | impl.lock_shared(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:118:7: error: 'impl' was not declared in this scope 118 | impl.unlock_shared(); | ^~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:13: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:131:7: error: 'impl' was not declared in this scope 131 | impl.lock(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:144:7: error: 'impl' was not declared in this scope 144 | impl.unlock(); | ^~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:8: error: 'optional' in namespace 'std' does not name a template type 1506 | std::optional tryZExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:3: note: 'std::optional' is only available from C++17 onwards 1506 | std::optional tryZExtValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:8: error: 'optional' in namespace 'std' does not name a template type 1528 | std::optional trySExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:3: note: 'std::optional' is only available from C++17 onwards 1528 | std::optional trySExtValue() const { | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_alloc': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:40:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 40 | for (i = 0; i < len; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_range': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:62:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 62 | for (i = 0; i < n; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_dim_range': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:81:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 81 | for (i = 0; i < n; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_div': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:107:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 107 | for (i = 0; i < bmap->n_div; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_dump': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:117:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 117 | for (i = 0; i < dim_map->len; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'copy_constraint_dim_map': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:128:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 128 | for (i = 0; i < dim_map->len; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_basic_map_add_constraints_dim_map': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:154:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 154 | for (i = 0; i < src->n_eq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:161:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 161 | for (i = 0; i < src->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:168:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 168 | for (i = 0; i < src->n_div; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_extend': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:211:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | for (i = 0; i < dim_map->len; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:213:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 213 | for (i = 0; i < bmap->n_div; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_from_reordering': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:246:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 246 | for (i = 0; i < exp->len; ++i) { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h: In static member function 'static void llvm::SmallVectorTemplateBase >::uninitialized_move(It1, It1, It2)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h:352:10: error: 'uninitialized_move' is not a member of 'std'; did you mean 'uninitialized_copy'? 352 | std::uninitialized_move(I, E, Dest); | ^~~~~~~~~~~~~~~~~~ | uninitialized_copy /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: In member function 'unsigned int llvm::APInt::countPopulation() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1621:20: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 1621 | return llvm::popcount(U.VAL); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:6: error: 'optional' in namespace 'std' does not name a template type 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:1: note: 'std::optional' is only available from C++17 onwards 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:6: error: 'optional' in namespace 'std' does not name a template type 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:1: note: 'std::optional' is only available from C++17 onwards 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:8: error: 'optional' in namespace 'std' does not name a template type 103 | std::optional tryExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:3: note: 'std::optional' is only available from C++17 onwards 103 | std::optional tryExtValue() const { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:8: error: 'optional' in namespace 'std' does not name a template type 103 | std::optional tryExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:3: note: 'std::optional' is only available from C++17 onwards 103 | std::optional tryExtValue() const { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLFunctionalExtras.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:35: error: 'optional' in namespace 'std' does not name a template type 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:30: note: 'std::optional' is only available from C++17 onwards 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:43: error: expected ',' or '...' before '<' token 46 | auto transformOptional(const std::optional &O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:13: error: 'optional' in namespace 'std' does not name a template type 47 | -> std::optional { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:8: note: 'std::optional' is only available from C++17 onwards 47 | -> std::optional { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:21: error: expected initializer before '<' token 47 | -> std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: error: 'optional' is not a member of 'std' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:39: error: expected primary-expression before '>' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:43: error: label 'O' referenced outside of any function 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:46: error: expected primary-expression before 'const' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:63: error: expression list treated as compound expression in initializer [-fpermissive] 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:64: error: expected ';' before '->' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ | ; 57 | -> std::optional { | ~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:104:54: error: expected ')' before 'Str' 104 | /*implicit*/ constexpr StringRef(std::string_view Str) | ~ ^~~~ | ) /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:248:14: error: expected type-specifier 248 | operator std::string_view() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'size_t llvm::StringRef::find(char, size_t) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: error: 'string_view' is not a member of 'std' 296 | return std::string_view(*this).find(C, From); | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: note: 'std::string_view' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::getAsInteger(unsigned int, T&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:470:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 470 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::consumeInteger(unsigned int, T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:499:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 499 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:35: error: 'string_view' in namespace 'std' does not name a type 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:30: note: 'std::string_view' is only available from C++17 onwards 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: In constructor 'llvm::Twine::Twine(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:294:34: error: request for member 'data' in 'Str', which is of non-class type 'const int' 294 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:295:37: error: request for member 'length' in 'Str', which is of non-class type 'const int' 295 | LHS.ptrAndLength.length = Str.length(); | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:35: error: 'string_view' in namespace 'std' does not name a type 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:30: note: 'std::string_view' is only available from C++17 onwards 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: In constructor 'llvm::Twine::Twine(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:294:34: error: request for member 'data' in 'Str', which is of non-class type 'const int' 294 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:295:37: error: request for member 'length' in 'Str', which is of non-class type 'const int' 295 | LHS.ptrAndLength.length = Str.length(); | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'std::string llvm::toString(const llvm::APInt&, unsigned int, bool, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef)' 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: note: candidate expects 3 arguments, 1 provided 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'size_t llvm::detail::join_items_size(Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:455:65: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 455 | return (0 + ... + join_one_item_size(std::forward(Items))); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_node_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/simple_ilist.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h: In function 'decltype(auto) llvm::get(const llvm::PointerIntPair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (I == 0) | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'std::string llvm::toString(const llvm::APInt&, unsigned int, bool, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef)' 322 | return std::string(S.str()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint16_t llvm::ByteSwap_16(uint16_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:51:60: error: 'byteswap' is not a member of 'llvm' 51 | inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint32_t llvm::ByteSwap_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:54:60: error: 'byteswap' is not a member of 'llvm' 54 | inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint64_t llvm::ByteSwap_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:57:60: error: 'byteswap' is not a member of 'llvm' 57 | inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned char llvm::sys::getSwappedBytes(unsigned char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:69:80: error: 'byteswap' is not a member of 'llvm' 69 | inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'signed char llvm::sys::getSwappedBytes(signed char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:70:80: error: 'byteswap' is not a member of 'llvm' 70 | inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } | ^~~~~~~~ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'char llvm::sys::getSwappedBytes(char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:71:80: error: 'byteswap' is not a member of 'llvm' 71 | inline char getSwappedBytes( char C) { return llvm::byteswap(C); } | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: note: candidate expects 3 arguments, 1 provided 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short unsigned int llvm::sys::getSwappedBytes(short unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:73:80: error: 'byteswap' is not a member of 'llvm' 73 | inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } | ^~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short int llvm::sys::getSwappedBytes(short int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:74:80: error: 'byteswap' is not a member of 'llvm' 74 | inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } | ^~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned int llvm::sys::getSwappedBytes(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:76:80: error: 'byteswap' is not a member of 'llvm' 76 | inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); } | ^~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'int llvm::sys::getSwappedBytes(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:77:80: error: 'byteswap' is not a member of 'llvm' 77 | inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); } | ^~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long unsigned int llvm::sys::getSwappedBytes(long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:79:80: error: 'byteswap' is not a member of 'llvm' 79 | inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long int llvm::sys::getSwappedBytes(long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:80:80: error: 'byteswap' is not a member of 'llvm' 80 | inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long unsigned int llvm::sys::getSwappedBytes(long long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:82:80: error: 'byteswap' is not a member of 'llvm' 82 | inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long int llvm::sys::getSwappedBytes(long long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:83:80: error: 'byteswap' is not a member of 'llvm' 83 | inline signed long long getSwappedBytes( signed long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'float llvm::sys::getSwappedBytes(float)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:91:17: error: 'byteswap' is not a member of 'llvm' 91 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'double llvm::sys::getSwappedBytes(double)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:101:17: error: 'byteswap' is not a member of 'llvm' 101 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'std::enable_if_t::value, T> llvm::sys::getSwappedBytes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:108:13: error: 'byteswap' is not a member of 'llvm' 108 | llvm::byteswap(static_cast>(C))); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'size_t llvm::detail::join_items_size(Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:455:65: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 455 | return (0 + ... + join_one_item_size(std::forward(Items))); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:55: error: 'optional' in namespace 'std' does not name a template type 127 | template hash_code hash_value(const std::optional &arg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:50: note: 'std::optional' is only available from C++17 onwards 127 | template hash_code hash_value(const std::optional &arg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:63: error: expected ',' or '...' before '<' token 127 | template hash_code hash_value(const std::optional &arg); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:22: error: 'is_scalar_v' is not a member of 'std'; did you mean 'is_scalar'? 83 | static_assert(std::is_scalar_v, | ^~~~~~~~~~~ | is_scalar /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:37: error: expected primary-expression before '>' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:38: error: expected primary-expression before ',' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:8: error: 'optional' in namespace 'std' does not name a template type 219 | std::optional FirstByteOffset; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:3: note: 'std::optional' is only available from C++17 onwards 219 | std::optional FirstByteOffset; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:57: error: 'std::optional' has not been declared 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:65: error: expected ',' or '...' before '<' token 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In constructor 'llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:19: error: class 'llvm::FormattedBytes' does not have any field named 'FirstByteOffset' 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:35: error: 'O' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:67: error: 'NPL' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(const std::tuple<_Tps ...>&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: error: 'apply' is not a member of 'std' 658 | return std::apply([](const auto &...xs) { return hash_combine(xs...); }, arg); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: note: 'std::apply' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:55: error: 'optional' in namespace 'std' does not name a template type 668 | template hash_code hash_value(const std::optional &arg) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:50: note: 'std::optional' is only available from C++17 onwards 668 | template hash_code hash_value(const std::optional &arg) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:23: error: 'BGS' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:63: error: expected ',' or '...' before '<' token 668 | template hash_code hash_value(const std::optional &arg) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:35: error: 'U' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:669:10: error: 'arg' was not declared in this scope 669 | return arg ? hash_combine(true, *arg) : hash_value(false); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:45: error: 'A' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:19: error: 'std::optional' has not been declared 240 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:27: error: expected ',' or '...' before '<' token 240 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:32: error: 'IndentLevel' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:24: error: 'disjunction' in namespace 'std' does not name a template type 144 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:19: note: 'std::disjunction' is only available from C++17 onwards 144 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:26: error: 'conjunction' in namespace 'std' does not name a template type 149 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:21: note: 'std::conjunction' is only available from C++17 onwards 149 | using are_base_of = std::conjunction...>; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:22: error: 'is_scalar_v' is not a member of 'std'; did you mean 'is_scalar'? 83 | static_assert(std::is_scalar_v, | ^~~~~~~~~~~ | is_scalar /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:37: error: expected primary-expression before '>' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:38: error: expected primary-expression before ',' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:45: error: 'FirstByteOffset' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:37: error: 'is_one_of' was not declared in this scope 155 | : std::integral_constant::value && | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:55: error: template argument 2 is invalid 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:56: error: expected '{' before '::' token 155 | : std::integral_constant::value && | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:8: error: 'optional' in namespace 'std' does not name a template type 219 | std::optional FirstByteOffset; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:3: note: 'std::optional' is only available from C++17 onwards 219 | std::optional FirstByteOffset; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:57: error: 'std::optional' has not been declared 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:65: error: expected ',' or '...' before '<' token 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In constructor 'llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:19: error: class 'llvm::FormattedBytes' does not have any field named 'FirstByteOffset' 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:23: error: 'is_function_v' is not a member of 'std'; did you mean 'is_function'? 224 | bool = std::is_function_v>>> | ^~~~~~~~~~~~~ | is_function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:62: error: 'NumPerLine' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected primary-expression before '>>' token 224 | bool = std::is_function_v>>> | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected '>' before '>>' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:8: error: 'optional' in namespace 'std' does not name a template type 230 | std::optional Obj; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:3: note: 'std::optional' is only available from C++17 onwards 230 | std::optional Obj; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:23: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 232 | static_assert(!std::is_pointer_v, | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:46: error: expected primary-expression before '>' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:47: error: expected primary-expression before ',' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:35: error: 'O' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' 257 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:67: error: 'NPL' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:25: error: 'ByteGroupSize' was not declared in this scope 244 | ByteGroupSize, Upper, false); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 257 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:23: error: 'BGS' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 244 | ByteGroupSize, Upper, false); | ^~~~~ | toUpper In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:66: error: expected unqualified-id before '=' token 257 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:30: error: 'std::optional' has not been declared 249 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token 249 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:35: error: 'U' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' 263 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:45: error: 'A' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:19: error: 'std::optional' has not been declared 240 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:27: error: expected ',' or '...' before '<' token 240 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:64: error: template argument 1 is invalid 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:72: error: expected unqualified-id before '=' token 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::callable_detail::Callable >::Callable(const T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:26: error: class 'llvm::callable_detail::Callable >' does not have any field named 'Obj' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes_with_ascii(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:32: error: 'IndentLevel' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:35: error: 'in_place' is not a member of 'std' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:32: error: 'IndentLevel' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(const llvm::callable_detail::Callable >&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:5: error: 'Obj' was not declared in this scope 243 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:16: error: 'nullopt' is not a member of 'std' 243 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(llvm::callable_detail::Callable >&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:5: error: 'Obj' was not declared in this scope 250 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:45: error: 'FirstByteOffset' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:16: error: 'nullopt' is not a member of 'std' 250 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:45: error: 'FirstByteOffset' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:31: error: 'Obj' was not declared in this scope 268 | bool valid() const { return Obj != std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:43: error: 'nullopt' is not a member of 'std' 268 | bool valid() const { return Obj != std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:62: error: 'NumPerLine' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:25: error: 'Obj' was not declared in this scope 269 | bool reset() { return Obj = std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:62: error: 'NumPerLine' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:36: error: 'nullopt' is not a member of 'std' 269 | bool reset() { return Obj = std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::reference()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:271:34: error: 'Obj' was not declared in this scope 271 | operator reference() { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::const_reference() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:272:46: error: 'Obj' was not declared in this scope 272 | operator const_reference() const { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:25: error: 'ByteGroupSize' was not declared in this scope 244 | ByteGroupSize, Upper, false); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:25: error: 'ByteGroupSize' was not declared in this scope 253 | ByteGroupSize, Upper, true); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:38: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:67: error: expected primary-expression before '>' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:69: error: expected primary-expression before ';' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 244 | ByteGroupSize, Upper, false); | ^~~~~ | toUpper /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 253 | ByteGroupSize, Upper, true); | ^~~~~ | toUpper /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:30: error: 'std::optional' has not been declared 249 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token 249 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:284:3: error: 'StorageT' does not name a type 284 | StorageT Func = nullptr; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:13: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 307 | !std::is_same_v, Callable>, int | ^~~~~~~~~ | is_same /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:59: error: template argument 1 is invalid 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:308:7: error: expected unqualified-id before '=' token 308 | > = 0 | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes_with_ascii(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:32: error: 'IndentLevel' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' 313 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 313 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:66: error: expected unqualified-id before '=' token 313 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In static member function 'static constexpr auto llvm::callable_detail::Callable::convertIn(In&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:288:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 288 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:45: error: 'FirstByteOffset' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:318:31: error: 'Func' was not declared in this scope 318 | bool valid() const { return Func != nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'void llvm::callable_detail::Callable::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:319:18: error: 'Func' was not declared in this scope 319 | void reset() { Func = nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable::operator const T&() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:322:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 322 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:62: error: 'NumPerLine' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:324:14: error: 'Func' was not declared in this scope 324 | return Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:26: error: 'is_reference_v' is not a member of 'std'; did you mean 'is_reference'? 326 | static_assert(std::is_reference_v, | ^~~~~~~~~~~~~~ | is_reference /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:42: error: expected primary-expression before '>' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:43: error: expected primary-expression before ',' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:329:15: error: 'Func' was not declared in this scope 329 | return *Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:25: error: 'ByteGroupSize' was not declared in this scope 253 | ByteGroupSize, Upper, true); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:423:35: error: template argument 2 is invalid 423 | callable_detail::Callable F{}; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 253 | ByteGroupSize, Upper, true); | ^~~~~ | toUpper /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'auto llvm::reverse(ContainerTy&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:485:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 485 | if constexpr (has_rbegin::value) | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:38: error: 'string_view' in namespace 'std' does not name a type 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:33: note: 'std::string_view' is only available from C++17 onwards 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_common::test_all_equals(const llvm::detail::zip_common&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:790:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 790 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_shortest::test(const llvm::detail::zip_shortest&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:835:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 835 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In member function 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:22: error: request for member 'data' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:34: error: request for member 'length' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:60: error: 'optional' in namespace 'std' does not name a template type 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:55: note: 'std::optional' is only available from C++17 onwards 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:68: error: expected initializer before '<' token 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:21: error: 'optional' in namespace 'std' does not name a template type 935 | using type = std::optional::test(const llvm::detail::zip_longest_iterator&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:966:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 966 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:16: error: 'optional' in namespace 'std' does not name a template type 459 | mutable std::optional HasColors; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:11: note: 'std::optional' is only available from C++17 onwards 459 | mutable std::optional HasColors; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:24: error: 'disjunction' in namespace 'std' does not name a template type 1511 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:19: note: 'std::disjunction' is only available from C++17 onwards 1511 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:26: error: 'conjunction' in namespace 'std' does not name a template type 1516 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:21: note: 'std::conjunction' is only available from C++17 onwards 1516 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:38: error: 'conjunction' in namespace 'std' does not name a template type 1675 | using sort_trivially_copyable = std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:33: note: 'std::conjunction' is only available from C++17 onwards 1675 | using sort_trivially_copyable = std::conjunction< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'void llvm::sort(IteratorTy, IteratorTy)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:25: error: 'sort_trivially_copyable' is not a member of 'llvm::detail' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:59: error: expected primary-expression before '>' token 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:62: error: '::value' has not been declared 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'decltype(auto) llvm::detail::get(const llvm::detail::result_pair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2173:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 2173 | if constexpr (i == 0) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::detail::all_of_zip_predicate_first(Predicate&&, Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: error: 'apply' is not a member of 'std' 2276 | if (!std::apply([&](auto &&...args) { return P(args...); }, *it)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: note: 'std::apply' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:47: error: 'std::nullopt_t' has not been declared 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:53: error: 'optional' in namespace 'std' does not name a template type 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:48: note: 'std::optional' is only available from C++17 onwards 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:61: error: expected ',' or '...' before '<' token 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In function 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:762:7: error: 'O' was not declared in this scope; did you mean 'OS'? 762 | if (O) | ^ | OS /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:765:16: error: 'nullopt' is not a member of 'std' 765 | OS << std::nullopt; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: At global scope: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:26: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:27: error: invalid use of '::' 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:44: error: expected ';' at end of member declaration 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:59: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:33: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:34: error: invalid use of '::' 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:472:65: error: expected constructor, destructor, or type conversion before ';' token 472 | template ArrayRef(const T &OneElt) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:475:78: error: expected constructor, destructor, or type conversion before ';' token 475 | template ArrayRef(const T *data, size_t length) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:478:77: error: expected constructor, destructor, or type conversion before ';' token 478 | template ArrayRef(const T *data, const T *end) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:481:79: error: expected constructor, destructor, or type conversion before ';' token 481 | template ArrayRef(const SmallVectorImpl &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:485:56: error: expected constructor, destructor, or type conversion before ';' token 485 | ArrayRef(const SmallVector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:488:75: error: expected constructor, destructor, or type conversion before ';' token 488 | template ArrayRef(const std::vector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:492:55: error: expected constructor, destructor, or type conversion before ';' token 492 | ArrayRef(const std::array &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:495:72: error: expected constructor, destructor, or type conversion before ';' token 495 | template ArrayRef(const ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:498:66: error: expected constructor, destructor, or type conversion before ';' token 498 | template ArrayRef(ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:501:77: error: expected constructor, destructor, or type conversion before ';' token 501 | template ArrayRef(const T (&Arr)[N]) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:17: error: 'std::enable_if_t' is not a type 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:28: error: expected ',' or '...' before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:580:70: error: expected constructor, destructor, or type conversion before ';' token 580 | template MutableArrayRef(T &OneElt) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:585:64: error: expected constructor, destructor, or type conversion before ';' token 585 | MutableArrayRef(T *data, size_t length) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:589:65: error: expected constructor, destructor, or type conversion before ';' token 589 | MutableArrayRef(SmallVectorImpl &Vec) -> MutableArrayRef; | ^ 512 | std::enable_if_t> * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:592:64: error: expected constructor, destructor, or type conversion before ';' token 592 | MutableArrayRef(SmallVector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:595:80: error: expected constructor, destructor, or type conversion before ';' token 595 | template MutableArrayRef(std::vector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:599:63: error: expected constructor, destructor, or type conversion before ';' token 599 | MutableArrayRef(std::array &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:603:53: error: expected constructor, destructor, or type conversion before ';' token 603 | MutableArrayRef(T (&Arr)[N]) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:59: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' 266 | struct CastIsPossible> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:41: error: template argument 2 is invalid 266 | struct CastIsPossible> { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:45: error: expected unqualified-id before '>' token 266 | struct CastIsPossible> { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:17: error: 'std::enable_if_t' is not a type 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:28: error: expected ',' or '...' before '<' token 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' 369 | std::optional, From, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:27: error: wrong number of template arguments (1, should be 3) 369 | std::optional, From, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:310:8: note: provided for 'template struct llvm::DefaultDoCastIfPossible' 310 | struct DefaultDoCastIfPossible { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:370:65: error: expected '{' before '>' token 370 | detail::SelfType>> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:55: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' 540 | struct CastInfo> : public OptionalValueCast { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:35: error: template argument 2 is invalid 540 | struct CastInfo> : public OptionalValueCast { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:39: error: expected unqualified-id before '>' token 540 | struct CastInfo> : public OptionalValueCast { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:10: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:24: error: expected primary-expression before '>' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:26: error: expected primary-expression before '||' token 595 | std::is_pointer_v || std::is_constructible_v; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:12: error: 'std::enable_if_t' is not a type 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:23: error: expected ',' or '...' before '<' token 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:537:12: error: 'template template llvm::Expected::Expected(llvm::Expected&&, int)' cannot be overloaded with 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 537 | explicit Expected( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:529:3: note: previous declaration 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 529 | Expected(Expected &&Other, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:34: error: 'is_constructible_v' is not a member of 'std'; did you mean 'is_constructible'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~~~~~~~ | is_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:54: error: expected primary-expression before ',' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' 610 | template struct ValueIsPresent> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:59: error: template argument 1 is invalid 610 | template struct ValueIsPresent> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:60: error: expected unqualified-id before '>' token 610 | template struct ValueIsPresent> { | ^~ [ 18%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_equalities.c.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected template-name before '<' token 117 | struct MaybeAlign : public std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected '{' before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected unqualified-id before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:217:35: error: 'A' has incomplete type 217 | inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } | ~~~~~~~~~~~^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:50: error: return type 'struct llvm::MaybeAlign' is incomplete 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:19: error: ambiguating new declaration of 'void llvm::decodeMaybeAlign(unsigned int)' 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:53:28: note: old declaration 'llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)' 53 | friend struct MaybeAlign decodeMaybeAlign(unsigned Value); | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'void llvm::decodeMaybeAlign(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:222:23: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 222 | return MaybeAlign(); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:224:7: error: 'uint8_t llvm::Align::ShiftValue' is private within this context 224 | Out.ShiftValue = Value - 1; | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:41:11: note: declared private here 41 | uint8_t ShiftValue = 0; /// The log2 of the required alignment. | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'unsigned int llvm::encode(llvm::Align)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:230:61: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 230 | inline unsigned encode(Align A) { return encode(MaybeAlign(A)); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:295:35: error: 'Lhs' has incomplete type 295 | inline bool operator==(MaybeAlign Lhs, Align Rhs) { return Lhs && *Lhs == Rhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:296:35: error: 'Lhs' has incomplete type 296 | inline bool operator!=(MaybeAlign Lhs, Align Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:297:46: error: 'Rhs' has incomplete type 297 | inline bool operator==(Align Lhs, MaybeAlign Rhs) { return Rhs == Lhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:298:46: error: 'Rhs' has incomplete type 298 | inline bool operator!=(Align Lhs, MaybeAlign Rhs) { return !(Rhs == Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:35: error: 'Lhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:51: error: 'Rhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:35: error: 'Lhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:51: error: 'Rhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:45: error: 'std::nullopt_t' has not been declared 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:35: error: 'Lhs' has incomplete type 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:45: error: 'std::nullopt_t' has not been declared 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:35: error: 'Lhs' has incomplete type 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:13: error: declaration of 'operator==' as non-function 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:51: error: expected primary-expression before 'Rhs' 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:13: error: declaration of 'operator!=' as non-function 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:51: error: expected primary-expression before 'Rhs' 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:28: error: 'optional' in namespace 'std' does not name a template type 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:23: note: 'std::optional' is only available from C++17 onwards 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:28: error: 'optional' in namespace 'std' does not name a template type 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:23: note: 'std::optional' is only available from C++17 onwards 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:34: error: 'std::optional' has not been declared 1301 | FileError(const Twine &F, std::optional LineNum, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:42: error: expected ',' or '...' before '<' token 1301 | FileError(const Twine &F, std::optional LineNum, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:43: error: 'std::optional' has not been declared 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:51: error: expected ',' or '...' before '<' token 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:8: error: 'optional' in namespace 'std' does not name a template type 1321 | std::optional Line; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:3: note: 'std::optional' is only available from C++17 onwards 1321 | std::optional Line; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In member function 'virtual void llvm::FileError::log(llvm::raw_ostream&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1279:9: error: 'Line' was not declared in this scope 1279 | if (Line) | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In constructor 'llvm::FileError::FileError(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1305:21: error: 'E' was not declared in this scope 1305 | Err = std::move(E); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:5: error: 'Line' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:59: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:22: error: 'LineNum' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In static member function 'static llvm::Error llvm::FileError::build(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1311:31: error: 'E' was not declared in this scope 1311 | handleAllErrors(std::move(E), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:17: error: 'std::enable_if_t' is not a type 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:28: error: expected ',' or '...' before '<' token 512 | std::enable_if_t> * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1317:53: error: 'Line' was not declared in this scope 1317 | std::unique_ptr(new FileError(F, Line, std::move(Payload)))); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:59: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:17: error: 'std::enable_if_t' is not a type 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:28: error: expected ',' or '...' before '<' token 530 | std::enable_if_t> * = nullptr) { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:46: error: 'std::optional' has not been declared 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:54: error: expected ',' or '...' before '<' token 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:44: error: 'std::optional' has not been declared 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:52: error: expected ',' or '...' before '<' token 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:55: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:12: error: 'std::enable_if_t' is not a type 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:23: error: expected ',' or '...' before '<' token 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:537:12: error: 'template template llvm::Expected::Expected(llvm::Expected&&, int)' cannot be overloaded with 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 537 | explicit Expected( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:529:3: note: previous declaration 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 529 | Expected(Expected &&Other, | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: error: 'optional' is not a member of 'std' 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:50: error: expected primary-expression before '>' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:52: error: expected primary-expression before ')' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, long long unsigned int>, 4>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:289:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, size_t, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: error: 'optional' is not a member of 'std' 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:50: error: expected primary-expression before '>' token 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:28: error: 'optional' in namespace 'std' does not name a template type 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:23: note: 'std::optional' is only available from C++17 onwards 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:28: error: 'optional' in namespace 'std' does not name a template type 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:23: note: 'std::optional' is only available from C++17 onwards 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:34: error: 'std::optional' has not been declared 1301 | FileError(const Twine &F, std::optional LineNum, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:42: error: expected ',' or '...' before '<' token 1301 | FileError(const Twine &F, std::optional LineNum, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:43: error: 'std::optional' has not been declared 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:51: error: expected ',' or '...' before '<' token 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:8: error: 'optional' in namespace 'std' does not name a template type 1321 | std::optional Line; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:3: note: 'std::optional' is only available from C++17 onwards 1321 | std::optional Line; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In member function 'virtual void llvm::FileError::log(llvm::raw_ostream&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1279:9: error: 'Line' was not declared in this scope 1279 | if (Line) | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In constructor 'llvm::FileError::FileError(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1305:21: error: 'E' was not declared in this scope 1305 | Err = std::move(E); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:5: error: 'Line' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:22: error: 'LineNum' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In static member function 'static llvm::Error llvm::FileError::build(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1311:31: error: 'E' was not declared in this scope 1311 | handleAllErrors(std::move(E), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1317:53: error: 'Line' was not declared in this scope 1317 | std::unique_ptr(new FileError(F, Line, std::move(Payload)))); | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: error: 'optional' is not a member of 'std' 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:50: error: expected primary-expression before '>' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:52: error: expected primary-expression before ')' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, size_t, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: error: 'optional' is not a member of 'std' 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:50: error: expected primary-expression before '>' token 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:5, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/mat.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:4, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:5, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:705:39: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:5, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:5, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1058:70: error: 'nullopt' is not a member of 'std' 1058 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::MutableArrayRef llvm::MDNode::Header::operands()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1030:29: error: missing template arguments before '(' token 1030 | return MutableArrayRef( | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::ArrayRef llvm::MDNode::Header::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1037:22: error: missing template arguments before '(' token 1037 | return ArrayRef(reinterpret_cast(this) - SmallSize, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_node_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/simple_ilist.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h: In function 'decltype(auto) llvm::get(const llvm::PointerIntPair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (I == 0) | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'particular_solution': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:82:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 82 | for (i = 0; i < B->n_row; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:87:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 87 | for (j = 0; j < B->n_col - 1; ++j) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:99:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 99 | for (i = 0; i < B->n_row; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:104:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 104 | if (i < B->n_row) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'parameter_compression_multi': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:178:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 178 | for (i = 0; i < B->n_row; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:184:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 184 | for (k = 0; k < U->n_col; ++k) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:187:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 187 | for (j = 1; j < U->n_row; ++j) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:188:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 188 | for (k = 0; k < U->n_col; ++k) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'isl_mat_parameter_compression': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:332:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 332 | for (i = 0; i < B->n_row; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'insert_parameter_rows': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:475:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 475 | for (i = 0; i < nparam; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'isl_mat_final_variable_compression': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:546:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 546 | if (n < B->n_row) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:575:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 575 | for (i = 0; i < B->n_row; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:583:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 583 | if (i < B->n_row) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/mat.h:15, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:4, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'compress_variables': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:681:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 681 | isl_assert(bset->ctx, bset->n_eq <= dim, goto error); | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4' 148 | if (test) \ | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:681:2: note: in expansion of macro 'isl_assert' 681 | isl_assert(bset->ctx, bset->n_eq <= dim, goto error); | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected template-name before '<' token 117 | struct MaybeAlign : public std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected '{' before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected unqualified-id before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:217:35: error: 'A' has incomplete type 217 | inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } | ~~~~~~~~~~~^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:50: error: return type 'struct llvm::MaybeAlign' is incomplete 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:19: error: ambiguating new declaration of 'void llvm::decodeMaybeAlign(unsigned int)' 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:53:28: note: old declaration 'llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)' 53 | friend struct MaybeAlign decodeMaybeAlign(unsigned Value); | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'void llvm::decodeMaybeAlign(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:222:23: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 222 | return MaybeAlign(); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:224:7: error: 'uint8_t llvm::Align::ShiftValue' is private within this context 224 | Out.ShiftValue = Value - 1; | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:41:11: note: declared private here 41 | uint8_t ShiftValue = 0; /// The log2 of the required alignment. | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'unsigned int llvm::encode(llvm::Align)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:230:61: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 230 | inline unsigned encode(Align A) { return encode(MaybeAlign(A)); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, 2>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:295:35: error: 'Lhs' has incomplete type 295 | inline bool operator==(MaybeAlign Lhs, Align Rhs) { return Lhs && *Lhs == Rhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:296:35: error: 'Lhs' has incomplete type 296 | inline bool operator!=(MaybeAlign Lhs, Align Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:297:46: error: 'Rhs' has incomplete type 297 | inline bool operator==(Align Lhs, MaybeAlign Rhs) { return Rhs == Lhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:298:46: error: 'Rhs' has incomplete type 298 | inline bool operator!=(Align Lhs, MaybeAlign Rhs) { return !(Rhs == Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:35: error: 'Lhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:51: error: 'Rhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:35: error: 'Lhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:51: error: 'Rhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:45: error: 'std::nullopt_t' has not been declared 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:35: error: 'Lhs' has incomplete type 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:45: error: 'std::nullopt_t' has not been declared 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:35: error: 'Lhs' has incomplete type 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:13: error: declaration of 'operator==' as non-function 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:51: error: expected primary-expression before 'Rhs' 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:13: error: declaration of 'operator!=' as non-function 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:51: error: expected primary-expression before 'Rhs' 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:46: error: 'std::optional' has not been declared 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:54: error: expected ',' or '...' before '<' token 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:44: error: 'std::optional' has not been declared 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:52: error: expected ',' or '...' before '<' token 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, long long unsigned int>, 4>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:289:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:327:45: error: 'nullopt' is not a member of 'std' 327 | return dropUnknownNonDebugMetadata(std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:330:48: error: missing template arguments before '(' token 330 | return dropUnknownNonDebugMetadata(ArrayRef(ID1)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h: In member function 'void llvm::RepeatedPass::printPipeline(llvm::raw_ostream&, llvm::function_ref)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1342:21: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 1342 | OS << "repeat<" << Count << ">("; | ~~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | int | llvm::raw_ostream In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)' 190 | raw_ostream &operator<<(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)' 197 | raw_ostream &operator<<(unsigned char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)' 204 | raw_ostream &operator<<(signed char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)' 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)' 260 | raw_ostream &operator<<(unsigned long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)' 261 | raw_ostream &operator<<(long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)' 262 | raw_ostream &operator<<(unsigned long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)' 263 | raw_ostream &operator<<(long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)' 266 | raw_ostream &operator<<(unsigned int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)' 270 | raw_ostream &operator<<(int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)' 274 | raw_ostream &operator<<(double N); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)' 553 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)' 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:8: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:3: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:15: error: 'optional' in namespace 'std' does not name a template type 66 | inline std::optional getLevel(IDType ID) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:10: note: 'std::optional' is only available from C++17 onwards 66 | inline std::optional getLevel(IDType ID) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:15: error: 'optional' in namespace 'std' does not name a template type 74 | inline std::optional parseLevel(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:10: note: 'std::optional' is only available from C++17 onwards 74 | inline std::optional parseLevel(char C) { | ^~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ [ 18%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_factorization.c.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h: In member function 'llvm::BitVector::size_type llvm::BitVector::count() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:158:24: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 158 | NumBits += llvm::popcount(Bit); | ^~~~~~~~ | count In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1058:70: error: 'nullopt' is not a member of 'std' 1058 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::MutableArrayRef llvm::MDNode::Header::operands()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1030:29: error: missing template arguments before '(' token 1030 | return MutableArrayRef( | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::ArrayRef llvm::MDNode::Header::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1037:22: error: missing template arguments before '(' token 1037 | return ArrayRef(reinterpret_cast(this) - SmallSize, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:10: error: 'optional' in namespace 'std' does not name a template type 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:5: note: 'std::optional' is only available from C++17 onwards 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:8: error: 'optional' in namespace 'std' does not name a template type 152 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:3: note: 'std::optional' is only available from C++17 onwards 152 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:153:73: error: expected unqualified-id before ')' token 153 | get_threadpool_strategy(StringRef Num, ThreadPoolStrategy Default = {}); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: In function 'llvm::ThreadPoolStrategy llvm::heavyweight_hardware_concurrency(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: error: 'optional' is not a member of 'std' 174 | std::optional S = | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:37: error: expected primary-expression before '>' token 174 | std::optional S = | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:39: error: 'S' was not declared in this scope 174 | std::optional S = | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:18: error: 'optional' in namespace 'std' does not name a template type 141 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:13: note: 'std::optional' is only available from C++17 onwards 141 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:26: error: expected ',' or '...' before '<' token 141 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' 234 | std::pair> getAllocSizeArgs() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:45: error: template argument 2 is invalid 234 | std::pair> getAllocSizeArgs() const; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:8: error: 'optional' in namespace 'std' does not name a template type 241 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:3: note: 'std::optional' is only available from C++17 onwards 241 | std::optional getVScaleRangeMax() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:175:9: error: 'get_threadpool_strategy' was not declared in this scope; did you mean 'ThreadPoolStrategy'? 175 | get_threadpool_strategy(Num, heavyweight_hardware_concurrency()); | ^~~~~~~~~~~~~~~~~~~~~~~ | ThreadPoolStrategy /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:8: error: 'optional' in namespace 'std' does not name a template type 379 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:3: note: 'std::optional' is only available from C++17 onwards 379 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:8: error: 'optional' in namespace 'std' does not name a template type 382 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:3: note: 'std::optional' is only available from C++17 onwards 382 | std::optional getVScaleRangeMax() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:36: error: 'optional' in namespace 'std' does not name a template type 735 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:31: note: 'std::optional' is only available from C++17 onwards 735 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:44: error: expected ',' or '...' before '<' token 735 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:8: error: 'optional' in namespace 'std' does not name a template type 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:3: note: 'std::optional' is only available from C++17 onwards 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:44: error: 'optional' in namespace 'std' does not name a template type 1197 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:39: note: 'std::optional' is only available from C++17 onwards 1197 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:52: error: expected ',' or '...' before '<' token 1197 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:40: error: 'std::optional' has not been declared 1201 | std::optional MaxValue); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:48: error: expected ',' or '...' before '<' token 1201 | std::optional MaxValue); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1114:35: error: return type 'struct llvm::MaybeAlign' is incomplete 1114 | MaybeAlign getAlignment() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:70: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1119:40: error: return type 'struct llvm::MaybeAlign' is incomplete 1119 | MaybeAlign getStackAlignment() const { | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:16: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getStackAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:75: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:327:45: error: 'nullopt' is not a member of 'std' 327 | return dropUnknownNonDebugMetadata(std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:330:48: error: missing template arguments before '(' token 330 | return dropUnknownNonDebugMetadata(ArrayRef(ID1)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1126:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1126 | return getRawIntAttr(Attribute::Dereferenceable).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableOrNullBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1132:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1132 | return getRawIntAttr(Attribute::DereferenceableOrNull).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1172:45: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1172 | return addAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addStackAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1184:50: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1184 | return addStackAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:38: error: 'string_view' in namespace 'std' does not name a type 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:33: note: 'std::string_view' is only available from C++17 onwards 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In member function 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:22: error: request for member 'data' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:34: error: request for member 'length' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:16: error: 'optional' in namespace 'std' does not name a template type 459 | mutable std::optional HasColors; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:11: note: 'std::optional' is only available from C++17 onwards 459 | mutable std::optional HasColors; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:8: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:3: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c: In function 'init_groups': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:162:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 162 | for (i = 0; i < H->n_row; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:164:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 164 | for (i = 0, j = 0; i < H->n_col; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:165:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 165 | for ( ; j < H->n_row; ++j) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:170:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 170 | for (i = 0; i < H->n_col; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c: In function 'update_group_i_with_row_j': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:203:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 203 | for (k = i + 1; k < H->n_col && j >= g->pos[k]; ++k) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c: In function 'update_groups': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:231:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 231 | for (i = 0; i < H->n_col && g->cnt[0] < H->n_col; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:231:40: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 231 | for (i = 0; i < H->n_col && g->cnt[0] < H->n_col; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:232:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 232 | if (g->pos[i] == H->n_row) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:236:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 236 | for (j = g->pos[i] + 1; j < H->n_row; ++j) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:245:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 245 | for (i = 1; i < H->n_col; ++i) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' 294 | template struct DenseMapInfo> { | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: expected parameter pack before '...' 294 | template struct DenseMapInfo> { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: template argument 1 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:65: error: expected unqualified-id before '>' token 294 | template struct DenseMapInfo> { | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:15: error: 'optional' in namespace 'std' does not name a template type 66 | inline std::optional getLevel(IDType ID) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:10: note: 'std::optional' is only available from C++17 onwards 66 | inline std::optional getLevel(IDType ID) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:15: error: 'optional' in namespace 'std' does not name a template type 74 | inline std::optional parseLevel(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:10: note: 'std::optional' is only available from C++17 onwards 74 | inline std::optional parseLevel(char C) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:70: error: template argument 1 is invalid 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:73: error: expected unqualified-id before '>' token 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:70: error: template argument 1 is invalid 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:73: error: expected unqualified-id before '>' token 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:47: error: 'std::nullopt_t' has not been declared 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:53: error: 'optional' in namespace 'std' does not name a template type 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:48: note: 'std::optional' is only available from C++17 onwards 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:61: error: expected ',' or '...' before '<' token 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 180 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:37: error: expected primary-expression before '>' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:38: error: expected primary-expression before ',' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 246 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:37: error: expected primary-expression before '>' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:38: error: expected primary-expression before ',' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 259 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:37: error: expected primary-expression before '>' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:38: error: expected primary-expression before ',' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 272 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:37: error: expected primary-expression before '>' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:38: error: expected primary-expression before ',' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In function 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:762:7: error: 'O' was not declared in this scope; did you mean 'OS'? 762 | if (O) | ^ | OS /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::bit_width(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 282 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:37: error: expected primary-expression before '>' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:38: error: expected primary-expression before ',' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_floor(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 292 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:37: error: expected primary-expression before '>' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:38: error: expected primary-expression before ',' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:765:16: error: 'nullopt' is not a member of 'std' 765 | OS << std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_ceil(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 307 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:37: error: expected primary-expression before '>' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:38: error: expected primary-expression before ',' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:70: error: template argument 1 is invalid 348 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:73: error: expected unqualified-id before '>' token 348 | template >> | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 78 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:37: error: expected primary-expression before '>' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:38: error: expected primary-expression before ',' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 90 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:37: error: expected primary-expression before '>' token 90 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:38: error: expected primary-expression before ',' token 90 | static_assert(std::is_unsigned_v, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:8: error: 'shared_mutex' in namespace 'std' does not name a type 96 | std::shared_mutex impl; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:3: note: 'std::shared_mutex' is only available from C++17 onwards 96 | std::shared_mutex impl; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isInt(int64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:212:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 212 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:214:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 214 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:216:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 216 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:218:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 218 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isUInt(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:238:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 238 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:240:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 240 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:242:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 242 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:106:7: error: 'impl' was not declared in this scope 106 | impl.lock_shared(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:325:16: error: 'has_single_bit' is not a member of 'llvm' 325 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:330:16: error: 'has_single_bit' is not a member of 'llvm' 330 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 341 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:37: error: expected primary-expression before '>' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:38: error: expected primary-expression before ',' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 354 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:37: error: expected primary-expression before '>' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:38: error: expected primary-expression before ',' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countPopulation(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 364 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:37: error: expected primary-expression before '>' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:38: error: expected primary-expression before ',' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:366:26: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 366 | return (unsigned)llvm::popcount(Value); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:118:7: error: 'impl' was not declared in this scope 118 | impl.unlock_shared(); | ^~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_32(uint32_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:379:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 379 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_64(uint64_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:392:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 392 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:131:7: error: 'impl' was not declared in this scope 131 | impl.lock(); | ^~~~ [ 18%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_farkas.c.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:144:7: error: 'impl' was not declared in this scope 144 | impl.unlock(); | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h: In member function 'llvm::ArrayRef llvm::Type::subtypes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:355:20: error: missing template arguments before '(' token 355 | return ArrayRef(subtype_begin(), subtype_end()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:38: error: template argument 1 is invalid 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:39: error: expected unqualified-id before ',' token 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::FunctionType::params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:131:20: error: missing template arguments before '(' token 131 | return ArrayRef(param_begin(), param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:27: error: 'are_base_of' was not declared in this scope 245 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 245 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:59: error: expected ';' before ',' token 245 | static std::enable_if_t::value, StructType *> | ^ | ; In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:8: error: 'optional' in namespace 'std' does not name a template type 232 | std::optional identifyObject(const void *Ptr) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:3: note: 'std::optional' is only available from C++17 onwards 232 | std::optional identifyObject(const void *Ptr) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:18: error: 'optional' in namespace 'std' does not name a template type 141 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:13: note: 'std::optional' is only available from C++17 onwards 141 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:26: error: expected ',' or '...' before '<' token 141 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' 234 | std::pair> getAllocSizeArgs() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:45: error: template argument 2 is invalid 234 | std::pair> getAllocSizeArgs() const; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:8: error: 'optional' in namespace 'std' does not name a template type 241 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:3: note: 'std::optional' is only available from C++17 onwards 241 | std::optional getVScaleRangeMax() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:27: error: 'are_base_of' was not declared in this scope 262 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 262 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:59: error: expected ';' before ',' token 262 | static std::enable_if_t::value, StructType *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:267:3: error: redeclaration of 'template int llvm::StructType::value' 267 | } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:54: note: previous declaration 'template int llvm::StructType::value' 245 | static std::enable_if_t::value, StructType *> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:8: error: 'optional' in namespace 'std' does not name a template type 379 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:3: note: 'std::optional' is only available from C++17 onwards 379 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:8: error: 'optional' in namespace 'std' does not name a template type 382 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:3: note: 'std::optional' is only available from C++17 onwards 382 | std::optional getVScaleRangeMax() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:36: error: 'optional' in namespace 'std' does not name a template type 735 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:31: note: 'std::optional' is only available from C++17 onwards 735 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:44: error: expected ',' or '...' before '<' token 735 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:20: error: 'are_base_of' was not declared in this scope 305 | std::enable_if_t::value, void> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:44: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 305 | std::enable_if_t::value, void> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:52: error: expected ';' before ',' token 305 | std::enable_if_t::value, void> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:47: error: data member 'value' cannot be a member template 305 | std::enable_if_t::value, void> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::StructType::elements() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:320:20: error: missing template arguments before '(' token 320 | return ArrayRef(element_begin(), element_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: In member function 'int64_t llvm::BumpPtrAllocatorImpl::identifyKnownObject(const void*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: error: 'optional' is not a member of 'std' 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:26: error: expected primary-expression before '>' token 259 | std::optional Out = identifyObject(Ptr); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:754:59: error: 'nullopt' is not a member of 'std' 754 | ArrayRef Types = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:755:60: error: 'nullopt' is not a member of 'std' 755 | ArrayRef Ints = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::type_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:765:20: error: missing template arguments before '(' token 765 | return ArrayRef(type_param_begin(), type_param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::int_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:780:20: error: missing template arguments before '(' token 780 | return ArrayRef(IntParams, getNumIntParameters()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:28: error: 'Out' was not declared in this scope 259 | std::optional Out = identifyObject(Ptr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: error: there are no arguments to 'identifyObject' that depend on a template parameter, so a declaration of 'identifyObject' must be available [-fpermissive] 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:17: error: 'optional' in namespace 'std' does not name a template type 668 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:12: note: 'std::optional' is only available from C++17 onwards 668 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:8: error: 'optional' in namespace 'std' does not name a template type 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:3: note: 'std::optional' is only available from C++17 onwards 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:8: error: 'optional' in namespace 'std' does not name a template type 642 | std::optional getAbsoluteSymbolRange() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:3: note: 'std::optional' is only available from C++17 onwards 642 | std::optional getAbsoluteSymbolRange() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:8: error: 'optional' in namespace 'std' does not name a template type 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:3: note: 'std::optional' is only available from C++17 onwards 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:44: error: 'optional' in namespace 'std' does not name a template type 1197 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:39: note: 'std::optional' is only available from C++17 onwards 1197 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:52: error: expected ',' or '...' before '<' token 1197 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:40: error: 'std::optional' has not been declared 1201 | std::optional MaxValue); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:48: error: expected ',' or '...' before '<' token 1201 | std::optional MaxValue); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1114:35: error: return type 'struct llvm::MaybeAlign' is incomplete 1114 | MaybeAlign getAlignment() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:70: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1119:40: error: return type 'struct llvm::MaybeAlign' is incomplete 1119 | MaybeAlign getStackAlignment() const { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'uint64_t llvm::GlobalObject::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:16: error: variable 'llvm::MaybeAlign Align' has initializer but incomplete type 71 | MaybeAlign Align = getAlign(); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:33: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 71 | MaybeAlign Align = getAlign(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:79:31: error: return type 'struct llvm::MaybeAlign' is incomplete 79 | MaybeAlign getAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getStackAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:75: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'void llvm::GlobalObject::getAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:82:12: error: 'decodeMaybeAlign' was not declared in this scope 82 | return decodeMaybeAlign(AlignmentData); | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:6: error: 'optional' in namespace 'std' does not name a template type 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:1: note: 'std::optional' is only available from C++17 onwards 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:6: error: 'optional' in namespace 'std' does not name a template type 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:1: note: 'std::optional' is only available from C++17 onwards 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:6: error: 'optional' in namespace 'std' does not name a template type 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:1: note: 'std::optional' is only available from C++17 onwards 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1126:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1126 | return getRawIntAttr(Attribute::Dereferenceable).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableOrNullBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1132:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1132 | return getRawIntAttr(Attribute::DereferenceableOrNull).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1172:45: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1172 | return addAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addStackAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1184:50: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1184 | return addStackAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:8: error: 'optional' in namespace 'std' does not name a template type 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:3: note: 'std::optional' is only available from C++17 onwards 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:8: error: 'optional' in namespace 'std' does not name a template type 301 | std::optional getSectionPrefix() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:3: note: 'std::optional' is only available from C++17 onwards 301 | std::optional getSectionPrefix() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h: In member function 'llvm::ArrayRef llvm::Type::subtypes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:355:20: error: missing template arguments before '(' token 355 | return ArrayRef(subtype_begin(), subtype_end()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::FunctionType::params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:131:20: error: missing template arguments before '(' token 131 | return ArrayRef(param_begin(), param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'bool llvm::Function::hasProfileData(bool) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:290:12: error: 'getEntryCount' was not declared in this scope; did you mean 'setEntryCount'? 290 | return getEntryCount(IncludeSynthetic).has_value(); | ^~~~~~~~~~~~~ | setEntryCount /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:425:38: error: return type 'struct llvm::MaybeAlign' is incomplete 425 | MaybeAlign getFnStackAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getFnStackAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:426:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 426 | return AttributeSets.getFnStackAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:440:50: error: return type 'struct llvm::MaybeAlign' is incomplete 440 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:441:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 441 | return AttributeSets.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:444:55: error: return type 'struct llvm::MaybeAlign' is incomplete 444 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:27: error: 'are_base_of' was not declared in this scope 245 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 245 | static std::enable_if_t::value, StructType *> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:445:54: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 445 | return AttributeSets.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/char_traits.h:39, from /usr/include/g++/string:40, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:59: error: expected ';' before ',' token 245 | static std::enable_if_t::value, StructType *> | ^ | ; In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FloatingPointMode.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APFloat.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:8: error: 'optional' in namespace 'std' does not name a template type 50 | std::optional Result; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:3: note: 'std::optional' is only available from C++17 onwards 50 | std::optional Result; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch::StringSwitch(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:54:13: error: class 'llvm::StringSwitch' does not have any field named 'Result' 54 | : Str(S), Result() { } | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch::StringSwitch(llvm::StringSwitch&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:64:23: error: class 'llvm::StringSwitch' does not have any field named 'Result' 64 | : Str(other.Str), Result(std::move(other.Result)) { } | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:27: error: 'are_base_of' was not declared in this scope 262 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 262 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/char_traits.h:39, from /usr/include/g++/string:40, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:59: error: expected ';' before ',' token 262 | static std::enable_if_t::value, StructType *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:267:3: error: redeclaration of 'template int llvm::StructType::value' 267 | } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:54: note: previous declaration 'template int llvm::StructType::value' 245 | static std::enable_if_t::value, StructType *> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::Case(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:70:10: error: 'Result' was not declared in this scope 70 | if (!Result && Str == S) { | ^~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:11: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::EndsWith(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:77:10: error: 'Result' was not declared in this scope 77 | if (!Result && Str.endswith(S)) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:20: error: 'are_base_of' was not declared in this scope 305 | std::enable_if_t::value, void> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:44: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 305 | std::enable_if_t::value, void> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/char_traits.h:39, from /usr/include/g++/string:40, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:52: error: expected ';' before ',' token 305 | std::enable_if_t::value, void> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:47: error: data member 'value' cannot be a member template 305 | std::enable_if_t::value, void> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::StructType::elements() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:320:20: error: missing template arguments before '(' token 320 | return ArrayRef(element_begin(), element_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::StartsWith(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:84:10: error: 'Result' was not declared in this scope 84 | if (!Result && Str.startswith(S)) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::CaseLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:143:10: error: 'Result' was not declared in this scope 143 | if (!Result && Str.equals_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::EndsWithLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:150:10: error: 'Result' was not declared in this scope 150 | if (!Result && Str.endswith_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::StartsWithLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:157:10: error: 'Result' was not declared in this scope 157 | if (!Result && Str.startswith_insensitive(S)) | ^~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'R llvm::StringSwitch::Default(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:183:9: error: 'Result' was not declared in this scope 183 | if (Result) | ^~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch::operator R()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:190:23: error: 'Result' was not declared in this scope 190 | return std::move(*Result); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:754:59: error: 'nullopt' is not a member of 'std' 754 | ArrayRef Types = std::nullopt, | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:755:60: error: 'nullopt' is not a member of 'std' 755 | ArrayRef Ints = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::type_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:765:20: error: missing template arguments before '(' token 765 | return ArrayRef(type_param_begin(), type_param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::int_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:780:20: error: missing template arguments before '(' token 780 | return ArrayRef(IntParams, getNumIntParameters()); | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:12: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 42 | std::is_integral_v, | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:55: error: expected '(' before '>' token 42 | std::is_integral_v, | ^ | ( /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:56: error: expected primary-expression before ',' token 42 | std::is_integral_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: In member function 'ValueT llvm::MapVector::lookup(const KeyT&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:24: error: 'is_copy_constructible_v' is not a member of 'std'; did you mean 'is_copy_constructible'? 112 | static_assert(std::is_copy_constructible_v, | ^~~~~~~~~~~~~~~~~~~~~~~ | is_copy_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:54: error: expected primary-expression before '>' token 112 | static_assert(std::is_copy_constructible_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:55: error: expected primary-expression before ',' token 112 | static_assert(std::is_copy_constructible_v, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h:107:1: warning: inline variables are only available with '-std=c++17' or '-std=gnu++17' 107 | inline constexpr force_iteration_on_noniterable_enum_t | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:43: error: template argument 1 is invalid 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:8: error: 'optional' in namespace 'std' does not name a template type 642 | std::optional getAbsoluteSymbolRange() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:3: note: 'std::optional' is only available from C++17 onwards 642 | std::optional getAbsoluteSymbolRange() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h: In function 'decltype(auto) llvm::get(const llvm::StringMapEntry&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:155:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 155 | if constexpr (Index == 0) | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'uint64_t llvm::GlobalObject::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:16: error: variable 'llvm::MaybeAlign Align' has initializer but incomplete type 71 | MaybeAlign Align = getAlign(); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:33: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 71 | MaybeAlign Align = getAlign(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:79:31: error: return type 'struct llvm::MaybeAlign' is incomplete 79 | MaybeAlign getAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'void llvm::GlobalObject::getAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:82:12: error: 'decodeMaybeAlign' was not declared in this scope 82 | return decodeMaybeAlign(AlignmentData); | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c: In function 'farkas': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:261:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 261 | for (i = 0; i < bset->n_eq + bset->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:274:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 274 | for (j = 0; j < bset->n_eq; ++j) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:277:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 277 | for (j = 0; j < bset->n_ineq; ++j) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:282:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 282 | for (i = 0; i < bset->n_ineq; ++i) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:297:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 297 | for (j = 0; j < bset->n_eq; ++j) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:300:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 300 | for (j = 0; j < bset->n_ineq; ++j) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:8: error: 'optional' in namespace 'std' does not name a template type 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:3: note: 'std::optional' is only available from C++17 onwards 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:8: error: 'optional' in namespace 'std' does not name a template type 301 | std::optional getSectionPrefix() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:3: note: 'std::optional' is only available from C++17 onwards 301 | std::optional getSectionPrefix() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'bool llvm::Function::hasProfileData(bool) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:290:12: error: 'getEntryCount' was not declared in this scope; did you mean 'setEntryCount'? 290 | return getEntryCount(IncludeSynthetic).has_value(); | ^~~~~~~~~~~~~ | setEntryCount /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:425:38: error: return type 'struct llvm::MaybeAlign' is incomplete 425 | MaybeAlign getFnStackAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getFnStackAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:426:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 426 | return AttributeSets.getFnStackAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:440:50: error: return type 'struct llvm::MaybeAlign' is incomplete 440 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:441:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 441 | return AttributeSets.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:444:55: error: return type 'struct llvm::MaybeAlign' is incomplete 444 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:445:54: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 445 | return AttributeSets.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:152:48: error: return type 'struct llvm::MaybeAlign' is incomplete 152 | inline MaybeAlign getMaybeAlignValue() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'void llvm::ConstantInt::getMaybeAlignValue() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:153:37: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 153 | return MaybeAlign(getZExtValue()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'llvm::Align llvm::ConstantInt::getAlignValue() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:30: error: invalid use of 'void' 160 | return getMaybeAlignValue().valueOrOne(); | ~~~~~~~~~~~~~~~~~~^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: expected ';' before 'valueOrOne' 160 | return getMaybeAlignValue().valueOrOne(); | ^~~~~~~~~~ | ; [ 18%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/ScopInfo.cpp.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:8: error: 'optional' in namespace 'std' does not name a template type 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:3: note: 'std::optional' is only available from C++17 onwards 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:8: error: 'optional' in namespace 'std' does not name a template type 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:3: note: 'std::optional' is only available from C++17 onwards 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: 'valueOrOne' was not declared in this scope 160 | return getMaybeAlignValue().valueOrOne(); | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:27: error: 'are_base_of' was not declared in this scope 455 | static std::enable_if_t::value, Constant *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:56: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 455 | static std::enable_if_t::value, Constant *> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1743:34: error: return type 'struct llvm::MaybeAlign' is incomplete 1743 | MaybeAlign getRetAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getRetAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1744:44: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1744 | if (auto Align = Attrs.getRetAlignment()) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1747:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1747 | return F->getAttributes().getRetAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1748:17: error: 'nullopt' is not a member of 'std' 1748 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1752:50: error: return type 'struct llvm::MaybeAlign' is incomplete 1752 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1753:41: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1753 | return Attrs.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1756:55: error: return type 'struct llvm::MaybeAlign' is incomplete 1756 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1757:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1757 | return Attrs.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:64: error: expected ';' before ',' token 455 | static std::enable_if_t::value, Constant *> | ^ | ; In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:12: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 42 | std::is_integral_v, | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:55: error: expected '(' before '>' token 42 | std::is_integral_v, | ^ | ( /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:56: error: expected primary-expression before ',' token 42 | std::is_integral_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: In member function 'ValueT llvm::MapVector::lookup(const KeyT&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:24: error: 'is_copy_constructible_v' is not a member of 'std'; did you mean 'is_copy_constructible'? 112 | static_assert(std::is_copy_constructible_v, | ^~~~~~~~~~~~~~~~~~~~~~~ | is_copy_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:54: error: expected primary-expression before '>' token 112 | static_assert(std::is_copy_constructible_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:55: error: expected primary-expression before ',' token 112 | static_assert(std::is_copy_constructible_v, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h:107:1: warning: inline variables are only available with '-std=c++17' or '-std=gnu++17' 107 | inline constexpr force_iteration_on_noniterable_enum_t | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:8: error: 'optional' in namespace 'std' does not name a template type 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:3: note: 'std::optional' is only available from C++17 onwards 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:8: error: 'optional' in namespace 'std' does not name a template type 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:3: note: 'std::optional' is only available from C++17 onwards 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantDataArray::get(llvm::LLVMContext&, ArrayTy&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:701:52: error: missing template arguments before '(' token 701 | return ConstantDataArray::get(Context, ArrayRef(Elts)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:25: error: 'std::optional' has not been declared 1247 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:33: error: expected ',' or '...' before '<' token 1247 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:25: error: 'std::optional' has not been declared 1255 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:33: error: expected ',' or '...' before '<' token 1255 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:25: error: 'std::optional' has not been declared 1266 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:33: error: expected ',' or '...' before '<' token 1266 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)' 1247 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1246:25: note: ...following parameter 4 which has a default argument 1246 | bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)' 1255 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1254:63: note: ...following parameter 4 which has a default argument 1254 | getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)' 1266 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1265:25: note: ...following parameter 4 which has a default argument 1265 | bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1250:24: error: missing template arguments before '(' token 1250 | Ty, C, ArrayRef((Value *const *)IdxList.data(), IdxList.size()), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:19: error: 'InRangeIndex' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1541:69: error: 'nullopt' is not a member of 'std' 1541 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1581:69: error: 'nullopt' is not a member of 'std' 1581 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1642:58: error: 'nullopt' is not a member of 'std' 1642 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:33: error: 'OnlyIfReducedTy' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1647:58: error: 'nullopt' is not a member of 'std' 1647 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:8: error: 'optional' in namespace 'std' does not name a template type /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In constructor 'llvm::CallInst::CallInst(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1496:39: error: 'nullopt' is not a member of 'std' 1496 | : CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore) {} | ^~~~~~~ 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:3: note: 'std::optional' is only available from C++17 onwards 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:8: error: 'optional' in namespace 'std' does not name a template type 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:3: note: 'std::optional' is only available from C++17 onwards 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1537:39: error: 'nullopt' is not a member of 'std' 1537 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1260:64: error: 'InRangeIndex' was not declared in this scope 1260 | return getGetElementPtr(Ty, C, cast(Idx), InBounds, InRangeIndex, | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1560:39: error: 'nullopt' is not a member of 'std' 1560 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertAtEnd); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1261:29: error: 'OnlyIfReducedTy' was not declared in this scope 1261 | OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1743:34: error: return type 'struct llvm::MaybeAlign' is incomplete 1743 | MaybeAlign getRetAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getRetAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1744:44: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1744 | if (auto Align = Attrs.getRetAlignment()) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1747:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1747 | return F->getAttributes().getRetAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1748:17: error: 'nullopt' is not a member of 'std' 1748 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1752:50: error: return type 'struct llvm::MaybeAlign' is incomplete 1752 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1753:41: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1753 | return Attrs.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1756:55: error: return type 'struct llvm::MaybeAlign' is incomplete 1756 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1757:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1757 | return Attrs.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h: In static member function 'static void llvm::SmallVectorTemplateBase >::uninitialized_move(It1, It1, It2)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h:352:10: error: 'uninitialized_move' is not a member of 'std'; did you mean 'uninitialized_copy'? 352 | std::uninitialized_move(I, E, Dest); | ^~~~~~~~~~~~~~~~~~ | uninitialized_copy In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLFunctionalExtras.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:35: error: 'optional' in namespace 'std' does not name a template type 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:30: note: 'std::optional' is only available from C++17 onwards 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:43: error: expected ',' or '...' before '<' token 46 | auto transformOptional(const std::optional &O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:13: error: 'optional' in namespace 'std' does not name a template type 47 | -> std::optional { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:8: note: 'std::optional' is only available from C++17 onwards 47 | -> std::optional { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:21: error: expected initializer before '<' token 47 | -> std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: error: 'optional' is not a member of 'std' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:39: error: expected primary-expression before '>' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:43: error: label 'O' referenced outside of any function 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:46: error: expected primary-expression before 'const' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:63: error: expression list treated as compound expression in initializer [-fpermissive] 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:64: error: expected ';' before '->' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ | ; 57 | -> std::optional { | ~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:104:54: error: expected ')' before 'Str' 104 | /*implicit*/ constexpr StringRef(std::string_view Str) | ~ ^~~~ | ) /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:248:14: error: expected type-specifier 248 | operator std::string_view() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'size_t llvm::StringRef::find(char, size_t) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: error: 'string_view' is not a member of 'std' 296 | return std::string_view(*this).find(C, From); | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: note: 'std::string_view' is only available from C++17 onwards In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:8: error: 'optional' in namespace 'std' does not name a template type 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:3: note: 'std::optional' is only available from C++17 onwards 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:8: error: 'optional' in namespace 'std' does not name a template type 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:3: note: 'std::optional' is only available from C++17 onwards 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::getAsInteger(unsigned int, T&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:470:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 470 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::consumeInteger(unsigned int, T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:499:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 499 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:35: error: 'string_view' in namespace 'std' does not name a type 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:30: note: 'std::string_view' is only available from C++17 onwards 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: In constructor 'llvm::Twine::Twine(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:294:34: error: request for member 'data' in 'Str', which is of non-class type 'const int' 294 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:295:37: error: request for member 'length' in 'Str', which is of non-class type 'const int' 295 | LHS.ptrAndLength.length = Str.length(); | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_node_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/simple_ilist.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h: In function 'decltype(auto) llvm::get(const llvm::PointerIntPair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (I == 0) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:8: error: 'optional' in namespace 'std' does not name a template type 3627 | std::optional> Weights; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:3: note: 'std::optional' is only available from C++17 onwards 3627 | std::optional> Weights; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:30: error: 'optional' in namespace 'std' does not name a template type 3636 | using CaseWeightOpt = std::optional; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:25: note: 'std::optional' is only available from C++17 onwards 3636 | using CaseWeightOpt = std::optional; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3654:54: error: 'CaseWeightOpt' has not been declared 3654 | void addCase(ConstantInt *OnVal, BasicBlock *Dest, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3660:41: error: 'CaseWeightOpt' has not been declared 3660 | void setSuccessorWeight(unsigned idx, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3661:3: error: 'CaseWeightOpt' does not name a type 3661 | CaseWeightOpt getSuccessorWeight(unsigned idx); | ^~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint16_t llvm::ByteSwap_16(uint16_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:51:60: error: 'byteswap' is not a member of 'llvm' 51 | inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint32_t llvm::ByteSwap_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:54:60: error: 'byteswap' is not a member of 'llvm' 54 | inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint64_t llvm::ByteSwap_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:57:60: error: 'byteswap' is not a member of 'llvm' 57 | inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned char llvm::sys::getSwappedBytes(unsigned char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:69:80: error: 'byteswap' is not a member of 'llvm' 69 | inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'signed char llvm::sys::getSwappedBytes(signed char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:70:80: error: 'byteswap' is not a member of 'llvm' 70 | inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'char llvm::sys::getSwappedBytes(char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:71:80: error: 'byteswap' is not a member of 'llvm' 71 | inline char getSwappedBytes( char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short unsigned int llvm::sys::getSwappedBytes(short unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:73:80: error: 'byteswap' is not a member of 'llvm' 73 | inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short int llvm::sys::getSwappedBytes(short int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:74:80: error: 'byteswap' is not a member of 'llvm' 74 | inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned int llvm::sys::getSwappedBytes(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:76:80: error: 'byteswap' is not a member of 'llvm' 76 | inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'int llvm::sys::getSwappedBytes(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:77:80: error: 'byteswap' is not a member of 'llvm' 77 | inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long unsigned int llvm::sys::getSwappedBytes(long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:79:80: error: 'byteswap' is not a member of 'llvm' 79 | inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long int llvm::sys::getSwappedBytes(long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:80:80: error: 'byteswap' is not a member of 'llvm' 80 | inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long unsigned int llvm::sys::getSwappedBytes(long long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:82:80: error: 'byteswap' is not a member of 'llvm' 82 | inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long int llvm::sys::getSwappedBytes(long long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:83:80: error: 'byteswap' is not a member of 'llvm' 83 | inline signed long long getSwappedBytes( signed long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'float llvm::sys::getSwappedBytes(float)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:91:17: error: 'byteswap' is not a member of 'llvm' 91 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3663:10: error: 'CaseWeightOpt' does not name a type 3663 | static CaseWeightOpt getSuccessorWeight(const SwitchInst &SI, unsigned idx); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'double llvm::sys::getSwappedBytes(double)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:101:17: error: 'byteswap' is not a member of 'llvm' 101 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'std::enable_if_t::value, T> llvm::sys::getSwappedBytes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:108:13: error: 'byteswap' is not a member of 'llvm' 108 | llvm::byteswap(static_cast>(C))); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:55: error: 'optional' in namespace 'std' does not name a template type 127 | template hash_code hash_value(const std::optional &arg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:50: note: 'std::optional' is only available from C++17 onwards 127 | template hash_code hash_value(const std::optional &arg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:63: error: expected ',' or '...' before '<' token 127 | template hash_code hash_value(const std::optional &arg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1541:69: error: 'nullopt' is not a member of 'std' 1541 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1581:69: error: 'nullopt' is not a member of 'std' 1581 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1642:58: error: 'nullopt' is not a member of 'std' 1642 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1647:58: error: 'nullopt' is not a member of 'std' 1647 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In constructor 'llvm::CallInst::CallInst(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1496:39: error: 'nullopt' is not a member of 'std' 1496 | : CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore) {} | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1537:39: error: 'nullopt' is not a member of 'std' 1537 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3870:71: error: 'nullopt' is not a member of 'std' 3870 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(const std::tuple<_Tps ...>&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: error: 'apply' is not a member of 'std' 658 | return std::apply([](const auto &...xs) { return hash_combine(xs...); }, arg); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: note: 'std::apply' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3914:71: error: 'nullopt' is not a member of 'std' 3914 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:55: error: 'optional' in namespace 'std' does not name a template type 668 | template hash_code hash_value(const std::optional &arg) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:50: note: 'std::optional' is only available from C++17 onwards 668 | template hash_code hash_value(const std::optional &arg) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:63: error: expected ',' or '...' before '<' token 668 | template hash_code hash_value(const std::optional &arg) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3864:64: error: 'nullopt' is not a member of 'std' 3864 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:669:10: error: 'arg' was not declared in this scope 669 | return arg ? hash_combine(true, *arg) : hash_value(false); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3887:64: error: 'nullopt' is not a member of 'std' 3887 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionCallee, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3909:43: error: 'nullopt' is not a member of 'std' 3909 | IfException, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1560:39: error: 'nullopt' is not a member of 'std' 1560 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertAtEnd); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:24: error: 'disjunction' in namespace 'std' does not name a template type 144 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:19: note: 'std::disjunction' is only available from C++17 onwards 144 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:26: error: 'conjunction' in namespace 'std' does not name a template type 149 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:21: note: 'std::conjunction' is only available from C++17 onwards 149 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:37: error: 'is_one_of' was not declared in this scope 155 | : std::integral_constant::value && | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:55: error: template argument 2 is invalid 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:56: error: expected '{' before '::' token 155 | : std::integral_constant::value && | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4077:52: error: 'nullopt' is not a member of 'std' 4077 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4125:71: error: 'nullopt' is not a member of 'std' 4125 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:23: error: 'is_function_v' is not a member of 'std'; did you mean 'is_function'? 224 | bool = std::is_function_v>>> | ^~~~~~~~~~~~~ | is_function /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected primary-expression before '>>' token 224 | bool = std::is_function_v>>> | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected '>' before '>>' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:8: error: 'optional' in namespace 'std' does not name a template type 230 | std::optional Obj; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:3: note: 'std::optional' is only available from C++17 onwards 230 | std::optional Obj; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:23: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 232 | static_assert(!std::is_pointer_v, | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:46: error: expected primary-expression before '>' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:47: error: expected primary-expression before ',' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4070:69: error: 'nullopt' is not a member of 'std' 4070 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' 257 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 257 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:66: error: expected unqualified-id before '=' token 257 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' 263 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:64: error: template argument 1 is invalid 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:72: error: expected unqualified-id before '=' token 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::callable_detail::Callable >::Callable(const T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:26: error: class 'llvm::callable_detail::Callable >' does not have any field named 'Obj' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:35: error: 'in_place' is not a member of 'std' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4095:69: error: 'nullopt' is not a member of 'std' 4095 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(const llvm::callable_detail::Callable >&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:5: error: 'Obj' was not declared in this scope 243 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:16: error: 'nullopt' is not a member of 'std' 243 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(llvm::callable_detail::Callable >&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:5: error: 'Obj' was not declared in this scope 250 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:16: error: 'nullopt' is not a member of 'std' 250 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:31: error: 'Obj' was not declared in this scope 268 | bool valid() const { return Obj != std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:43: error: 'nullopt' is not a member of 'std' 268 | bool valid() const { return Obj != std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:25: error: 'Obj' was not declared in this scope 269 | bool reset() { return Obj = std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:36: error: 'nullopt' is not a member of 'std' 269 | bool reset() { return Obj = std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::reference()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:271:34: error: 'Obj' was not declared in this scope 271 | operator reference() { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::const_reference() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:272:46: error: 'Obj' was not declared in this scope 272 | operator const_reference() const { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:38: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:67: error: expected primary-expression before '>' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:69: error: expected primary-expression before ';' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:284:3: error: 'StorageT' does not name a type 284 | StorageT Func = nullptr; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:13: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 307 | !std::is_same_v, Callable>, int | ^~~~~~~~~ | is_same /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:59: error: template argument 1 is invalid 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:308:7: error: expected unqualified-id before '=' token 308 | > = 0 | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' 313 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 313 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:66: error: expected unqualified-id before '=' token 313 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In static member function 'static constexpr auto llvm::callable_detail::Callable::convertIn(In&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:288:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 288 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:318:31: error: 'Func' was not declared in this scope 318 | bool valid() const { return Func != nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'void llvm::callable_detail::Callable::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:319:18: error: 'Func' was not declared in this scope 319 | void reset() { Func = nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable::operator const T&() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:322:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 322 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:324:14: error: 'Func' was not declared in this scope 324 | return Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:26: error: 'is_reference_v' is not a member of 'std'; did you mean 'is_reference'? 326 | static_assert(std::is_reference_v, | ^~~~~~~~~~~~~~ | is_reference /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:42: error: expected primary-expression before '>' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:43: error: expected primary-expression before ',' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:329:15: error: 'Func' was not declared in this scope 329 | return *Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:423:35: error: template argument 2 is invalid 423 | callable_detail::Callable F{}; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'auto llvm::reverse(ContainerTy&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:485:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 485 | if constexpr (has_rbegin::value) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_common::test_all_equals(const llvm::detail::zip_common&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:790:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 790 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_shortest::test(const llvm::detail::zip_shortest&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:835:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 835 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:60: error: 'optional' in namespace 'std' does not name a template type 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:55: note: 'std::optional' is only available from C++17 onwards 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:68: error: expected initializer before '<' token 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:21: error: 'optional' in namespace 'std' does not name a template type 935 | using type = std::optional::test(const llvm::detail::zip_longest_iterator&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:966:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 966 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4506:63: error: 'nullopt' is not a member of 'std' 4506 | ArrayRef Args = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:24: error: 'disjunction' in namespace 'std' does not name a template type 1511 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:19: note: 'std::disjunction' is only available from C++17 onwards 1511 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:26: error: 'conjunction' in namespace 'std' does not name a template type 1516 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:21: note: 'std::conjunction' is only available from C++17 onwards 1516 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:38: error: 'conjunction' in namespace 'std' does not name a template type 1675 | using sort_trivially_copyable = std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:33: note: 'std::conjunction' is only available from C++17 onwards 1675 | using sort_trivially_copyable = std::conjunction< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'void llvm::sort(IteratorTy, IteratorTy)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:25: error: 'sort_trivially_copyable' is not a member of 'llvm::detail' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:59: error: expected primary-expression before '>' token 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:62: error: '::value' has not been declared 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'decltype(auto) llvm::detail::get(const llvm::detail::result_pair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2173:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 2173 | if constexpr (i == 0) { | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:136:70: error: 'nullopt' is not a member of 'std' 136 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt) | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::detail::all_of_zip_predicate_first(Predicate&&, Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: error: 'apply' is not a member of 'std' 2276 | if (!std::apply([&](auto &&...args) { return P(args...); }, *it)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: note: 'std::apply' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:13: error: 'optional' in namespace 'std' does not name a template type 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:8: note: 'std::optional' is only available from C++17 onwards 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:44, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::ArrayRef() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:138:19: error: 'nullopt' is not a member of 'std' 138 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::MutableArrayRef()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:147:19: error: 'nullopt' is not a member of 'std' 147 | return std::nullopt; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIAssignID::DIAssignID(llvm::LLVMContext&, llvm::Metadata::StorageType)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:307:49: error: 'nullopt' is not a member of 'std' 307 | : MDNode(C, DIAssignIDKind, Storage, std::nullopt) {} | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:8: error: 'optional' in namespace 'std' does not name a template type 1506 | std::optional tryZExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:3: note: 'std::optional' is only available from C++17 onwards 1506 | std::optional tryZExtValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:8: error: 'optional' in namespace 'std' does not name a template type 1528 | std::optional trySExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:3: note: 'std::optional' is only available from C++17 onwards 1528 | std::optional trySExtValue() const { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:26: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:27: error: invalid use of '::' 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:44: error: expected ';' at end of member declaration 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:33: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:34: error: invalid use of '::' 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:8: error: 'optional' in namespace 'std' does not name a template type 3627 | std::optional> Weights; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:3: note: 'std::optional' is only available from C++17 onwards 3627 | std::optional> Weights; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:30: error: 'optional' in namespace 'std' does not name a template type 3636 | using CaseWeightOpt = std::optional; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:25: note: 'std::optional' is only available from C++17 onwards 3636 | using CaseWeightOpt = std::optional; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3654:54: error: 'CaseWeightOpt' has not been declared 3654 | void addCase(ConstantInt *OnVal, BasicBlock *Dest, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3660:41: error: 'CaseWeightOpt' has not been declared 3660 | void setSuccessorWeight(unsigned idx, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:472:65: error: expected constructor, destructor, or type conversion before ';' token 472 | template ArrayRef(const T &OneElt) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:475:78: error: expected constructor, destructor, or type conversion before ';' token 475 | template ArrayRef(const T *data, size_t length) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:478:77: error: expected constructor, destructor, or type conversion before ';' token 478 | template ArrayRef(const T *data, const T *end) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:481:79: error: expected constructor, destructor, or type conversion before ';' token 481 | template ArrayRef(const SmallVectorImpl &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:485:56: error: expected constructor, destructor, or type conversion before ';' token 485 | ArrayRef(const SmallVector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:488:75: error: expected constructor, destructor, or type conversion before ';' token 488 | template ArrayRef(const std::vector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:492:55: error: expected constructor, destructor, or type conversion before ';' token 492 | ArrayRef(const std::array &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:495:72: error: expected constructor, destructor, or type conversion before ';' token 495 | template ArrayRef(const ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:498:66: error: expected constructor, destructor, or type conversion before ';' token 498 | template ArrayRef(ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:501:77: error: expected constructor, destructor, or type conversion before ';' token 501 | template ArrayRef(const T (&Arr)[N]) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:580:70: error: expected constructor, destructor, or type conversion before ';' token 580 | template MutableArrayRef(T &OneElt) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:585:64: error: expected constructor, destructor, or type conversion before ';' token 585 | MutableArrayRef(T *data, size_t length) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:589:65: error: expected constructor, destructor, or type conversion before ';' token 589 | MutableArrayRef(SmallVectorImpl &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:592:64: error: expected constructor, destructor, or type conversion before ';' token 592 | MutableArrayRef(SmallVector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:595:80: error: expected constructor, destructor, or type conversion before ';' token 595 | template MutableArrayRef(std::vector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:599:63: error: expected constructor, destructor, or type conversion before ';' token 599 | MutableArrayRef(std::array &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:603:53: error: expected constructor, destructor, or type conversion before ';' token 603 | MutableArrayRef(T (&Arr)[N]) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3661:3: error: 'CaseWeightOpt' does not name a type 3661 | CaseWeightOpt getSuccessorWeight(unsigned idx); | ^~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' 266 | struct CastIsPossible> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:41: error: template argument 2 is invalid 266 | struct CastIsPossible> { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:45: error: expected unqualified-id before '>' token 266 | struct CastIsPossible> { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' 369 | std::optional, From, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:27: error: wrong number of template arguments (1, should be 3) 369 | std::optional, From, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:310:8: note: provided for 'template struct llvm::DefaultDoCastIfPossible' 310 | struct DefaultDoCastIfPossible { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:370:65: error: expected '{' before '>' token 370 | detail::SelfType>> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' 540 | struct CastInfo> : public OptionalValueCast { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:35: error: template argument 2 is invalid 540 | struct CastInfo> : public OptionalValueCast { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:39: error: expected unqualified-id before '>' token 540 | struct CastInfo> : public OptionalValueCast { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: In member function 'unsigned int llvm::APInt::countPopulation() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1621:20: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 1621 | return llvm::popcount(U.VAL); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:10: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:24: error: expected primary-expression before '>' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:26: error: expected primary-expression before '||' token 595 | std::is_pointer_v || std::is_constructible_v; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3663:10: error: 'CaseWeightOpt' does not name a type 3663 | static CaseWeightOpt getSuccessorWeight(const SwitchInst &SI, unsigned idx); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:34: error: 'is_constructible_v' is not a member of 'std'; did you mean 'is_constructible'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~~~~~~~ | is_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:54: error: expected primary-expression before ',' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' 610 | template struct ValueIsPresent> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:59: error: template argument 1 is invalid 610 | template struct ValueIsPresent> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:60: error: expected unqualified-id before '>' token 610 | template struct ValueIsPresent> { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:6: error: 'optional' in namespace 'std' does not name a template type 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:1: note: 'std::optional' is only available from C++17 onwards 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:6: error: 'optional' in namespace 'std' does not name a template type 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:1: note: 'std::optional' is only available from C++17 onwards 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected template-name before '<' token 117 | struct MaybeAlign : public std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected '{' before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected unqualified-id before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:217:35: error: 'A' has incomplete type 217 | inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } | ~~~~~~~~~~~^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:50: error: return type 'struct llvm::MaybeAlign' is incomplete 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:19: error: ambiguating new declaration of 'void llvm::decodeMaybeAlign(unsigned int)' 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:53:28: note: old declaration 'llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)' 53 | friend struct MaybeAlign decodeMaybeAlign(unsigned Value); | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'void llvm::decodeMaybeAlign(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:222:23: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 222 | return MaybeAlign(); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:224:7: error: 'uint8_t llvm::Align::ShiftValue' is private within this context 224 | Out.ShiftValue = Value - 1; | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:41:11: note: declared private here 41 | uint8_t ShiftValue = 0; /// The log2 of the required alignment. | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'unsigned int llvm::encode(llvm::Align)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:230:61: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 230 | inline unsigned encode(Align A) { return encode(MaybeAlign(A)); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:127:14: error: field 'StackNaturalAlign' has incomplete type 'llvm::MaybeAlign' 127 | MaybeAlign StackNaturalAlign; | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:295:35: error: 'Lhs' has incomplete type 295 | inline bool operator==(MaybeAlign Lhs, Align Rhs) { return Lhs && *Lhs == Rhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:296:35: error: 'Lhs' has incomplete type 296 | inline bool operator!=(MaybeAlign Lhs, Align Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:297:46: error: 'Rhs' has incomplete type 297 | inline bool operator==(Align Lhs, MaybeAlign Rhs) { return Rhs == Lhs; } | ~~~~~~~~~~~^~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:131:14: error: field 'FunctionPtrAlign' has incomplete type 'llvm::MaybeAlign' 131 | MaybeAlign FunctionPtrAlign; | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:298:46: error: 'Rhs' has incomplete type 298 | inline bool operator!=(Align Lhs, MaybeAlign Rhs) { return !(Rhs == Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:35: error: 'Lhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:51: error: 'Rhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:35: error: 'Lhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:51: error: 'Rhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:45: error: 'std::nullopt_t' has not been declared 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:35: error: 'Lhs' has incomplete type 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:45: error: 'std::nullopt_t' has not been declared 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:35: error: 'Lhs' has incomplete type 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:13: error: declaration of 'operator==' as non-function 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3870:71: error: 'nullopt' is not a member of 'std' 3870 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:51: error: expected primary-expression before 'Rhs' 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:13: error: declaration of 'operator!=' as non-function 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:51: error: expected primary-expression before 'Rhs' 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3914:71: error: 'nullopt' is not a member of 'std' 3914 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3864:64: error: 'nullopt' is not a member of 'std' 3864 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3887:64: error: 'nullopt' is not a member of 'std' 3887 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionCallee, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3909:43: error: 'nullopt' is not a member of 'std' 3909 | IfException, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4077:52: error: 'nullopt' is not a member of 'std' 4077 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4125:71: error: 'nullopt' is not a member of 'std' 4125 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4070:69: error: 'nullopt' is not a member of 'std' 4070 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ [ 21%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ffs.c.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:15: error: 'optional' in namespace 'std' does not name a template type 520 | inline std::optional getSource() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:10: note: 'std::optional' is only available from C++17 onwards 520 | inline std::optional getSource() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:8: error: 'optional' in namespace 'std' does not name a template type 599 | std::optional> Checksum; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:3: note: 'std::optional' is only available from C++17 onwards 599 | std::optional> Checksum; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:15: error: 'std::optional' has not been declared 604 | std::optional> CS, MDString *Src, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:23: error: expected ',' or '...' before '<' token 604 | std::optional> CS, MDString *Src, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:31: error: 'std::optional' has not been declared 610 | std::optional> CS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:39: error: expected ',' or '...' before '<' token 610 | std::optional> CS, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:31: error: 'std::optional' has not been declared 623 | std::optional> CS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:39: error: expected ',' or '...' before '<' token 623 | std::optional> CS, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4095:69: error: 'nullopt' is not a member of 'std' 4095 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:8: error: 'optional' in namespace 'std' does not name a template type 648 | std::optional> getChecksum() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:3: note: 'std::optional' is only available from C++17 onwards 648 | std::optional> getChecksum() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:8: error: 'optional' in namespace 'std' does not name a template type 654 | std::optional getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:3: note: 'std::optional' is only available from C++17 onwards 654 | std::optional getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:8: error: 'optional' in namespace 'std' does not name a template type 661 | std::optional> getRawChecksum() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:3: note: 'std::optional' is only available from C++17 onwards 661 | std::optional> getRawChecksum() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:15: error: 'optional' in namespace 'std' does not name a template type 667 | static std::optional getChecksumKind(StringRef CSKindStr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:10: note: 'std::optional' is only available from C++17 onwards 667 | static std::optional getChecksumKind(StringRef CSKindStr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getImpl(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: error: 'optional' is not a member of 'std' 613 | std::optional> MDChecksum; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:42: error: expected primary-expression before '>' token 613 | std::optional> MDChecksum; | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:8: error: 'optional' in namespace 'std' does not name a template type 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:3: note: 'std::optional' is only available from C++17 onwards 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:46: error: 'std::optional' has not been declared 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:54: error: expected ',' or '...' before '<' token 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:44: error: 'std::optional' has not been declared 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:52: error: expected ',' or '...' before '<' token 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:45: error: 'MDChecksum' was not declared in this scope 613 | std::optional> MDChecksum; | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:288:42: error: return type 'struct llvm::MaybeAlign' is incomplete 288 | MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:614:9: error: 'CS' was not declared in this scope 614 | if (CS) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:20: error: invalid use of member 'llvm::DIFile::Source' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:53: error: invalid use of member 'llvm::DIFile::Source' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:72: error: invalid use of member 'llvm::Metadata::Storage' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here 72 | unsigned char Storage : 7; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:534:54: error: 'Alignment' has incomplete type 534 | inline Align getValueOrABITypeAlignment(MaybeAlign Alignment, | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::MutableArrayRef llvm::StructLayout::getMemberOffsets()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:33: error: missing template arguments before '(' token 647 | return llvm::MutableArrayRef(getTrailingObjects(), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::ArrayRef llvm::StructLayout::getMemberOffsets() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:652:26: error: missing template arguments before '(' token 652 | return llvm::ArrayRef(getTrailingObjects(), NumElements); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:619:20: error: 'ShouldCreate' was not declared in this scope 619 | ShouldCreate); | ^~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ [ 21%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_flow.c.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, long long unsigned int>, 4>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:289:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:28, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:23: error: 'std::optional' has not been declared 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:31: error: expected ',' or '...' before '<' token 62 | std::optional AddressSpace = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4506:63: error: 'nullopt' is not a member of 'std' 4506 | ArrayRef Args = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:18: error: default argument missing for parameter 9 of 'llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, const llvm::Twine&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, int)' 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:59:54: note: ...following parameter 6 which has a default argument 59 | Constant *Initializer, const Twine &Name = "", | ~~~~~~~~~~~~~^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIFile llvm::DIFile::cloneImpl() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:25: error: 'getChecksum' was not declared in this scope 629 | getChecksum(), getSource()); | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:40: error: 'getSource' was not declared in this scope; did you mean 'Source'? 629 | getChecksum(), getSource()); | ^~~~~~~~~ | Source In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:6: error: 'optional' in namespace 'std' does not name a template type 686 | std::optional DIScope::getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:1: note: 'std::optional' is only available from C++17 onwards 686 | std::optional DIScope::getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:13: error: 'optional' in namespace 'std' does not name a template type 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:8: note: 'std::optional' is only available from C++17 onwards 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:44, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::ArrayRef() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:138:19: error: 'nullopt' is not a member of 'std' 138 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::MutableArrayRef()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:147:19: error: 'nullopt' is not a member of 'std' 147 | return std::nullopt; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:127:14: error: field 'StackNaturalAlign' has incomplete type 'llvm::MaybeAlign' 127 | MaybeAlign StackNaturalAlign; | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:131:14: error: field 'FunctionPtrAlign' has incomplete type 'llvm::MaybeAlign' 131 | MaybeAlign FunctionPtrAlign; | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:8: error: 'optional' in namespace 'std' does not name a template type 863 | std::optional getSignedness() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:3: note: 'std::optional' is only available from C++17 onwards 863 | std::optional getSignedness() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1058:70: error: 'nullopt' is not a member of 'std' 1058 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::MutableArrayRef llvm::MDNode::Header::operands()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1030:29: error: missing template arguments before '(' token 1030 | return MutableArrayRef( | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::ArrayRef llvm::MDNode::Header::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1037:22: error: missing template arguments before '(' token 1037 | return ArrayRef(reinterpret_cast(this) - SmallSize, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:8: error: 'optional' in namespace 'std' does not name a template type 969 | std::optional DWARFAddressSpace; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:3: note: 'std::optional' is only available from C++17 onwards 969 | std::optional DWARFAddressSpace; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:22: error: 'std::optional' has not been declared 974 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:30: error: expected ',' or '...' before '<' token 974 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:16: error: 'std::optional' has not been declared 984 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:24: error: expected ',' or '...' before '<' token 984 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:16: error: 'std::optional' has not been declared 996 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:24: error: expected ',' or '...' before '<' token 996 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:8: error: 'optional' in namespace 'std' does not name a template type 1036 | std::optional getDWARFAddressSpace() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:3: note: 'std::optional' is only available from C++17 onwards 1036 | std::optional getDWARFAddressSpace() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIDerivedType::DIDerivedType(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:43: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 977 | AlignInBits, OffsetInBits, Flags, Ops), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:50: error: 'Ops' was not declared in this scope 977 | AlignInBits, OffsetInBits, Flags, Ops), | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:9: error: class 'llvm::DIDerivedType' does not have any field named 'DWARFAddressSpace' 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:8: error: 'optional' in namespace 'std' does not name a template type 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:3: note: 'std::optional' is only available from C++17 onwards 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:8: error: 'optional' in namespace 'std' does not name a template type 866 | std::optional getCodeModel() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:3: note: 'std::optional' is only available from C++17 onwards 866 | std::optional getCodeModel() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:27: error: 'DWARFAddressSpace' was not declared in this scope 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:288:42: error: return type 'struct llvm::MaybeAlign' is incomplete 288 | MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleIdentifier(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: note: candidate expects 3 arguments, 1 provided 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:534:54: error: 'Alignment' has incomplete type 534 | inline Align getValueOrABITypeAlignment(MaybeAlign Alignment, | ~~~~~~~~~~~^~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setSourceFileName(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: note: candidate expects 3 arguments, 1 provided 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setTargetTriple(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: note: candidate expects 3 arguments, 1 provided 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleInlineAsm(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: note: candidate expects 3 arguments, 1 provided 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getImpl(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:20: error: 'DWARFAddressSpace' was not declared in this scope 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: invalid use of member 'llvm::DIType::Flags' in static member function 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::MutableArrayRef llvm::StructLayout::getMemberOffsets()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:33: error: missing template arguments before '(' token 647 | return llvm::MutableArrayRef(getTrailingObjects(), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::ArrayRef llvm::StructLayout::getMemberOffsets() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:652:26: error: missing template arguments before '(' token 652 | return llvm::ArrayRef(getTrailingObjects(), NumElements); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:46: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~ | getExtraData /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:57: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~~~ | getAnnotations /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:20: error: invalid use of member 'llvm::Metadata::Storage' in static member function 990 | Storage, ShouldCreate); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here 72 | unsigned char Storage : 7; | ^~~~~~~ [ 21%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_fold.c.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:29: error: 'ShouldCreate' was not declared in this scope 990 | Storage, ShouldCreate); | ^~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:28, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:23: error: 'std::optional' has not been declared 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:31: error: expected ',' or '...' before '<' token 62 | std::optional AddressSpace = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:18: error: default argument missing for parameter 9 of 'llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, const llvm::Twine&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, int)' 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:59:54: note: ...following parameter 6 which has a default argument 59 | Constant *Initializer, const Twine &Name = "", | ~~~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' 73 | std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: error: 'negation' is not a member of 'std' 74 | std::negation, Any>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: note: 'std::negation' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:68: error: template argument 1 is invalid 74 | std::negation, Any>>, | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:26: error: 'std::negation' has not been declared 85 | std::negation>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:34: error: expected '>' before '<' token 85 | std::negation>>, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:86:67: error: 'value' in namespace '::' does not name a type 86 | std::is_copy_constructible>>::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIDerivedType llvm::DIDerivedType::cloneImpl() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1004:9: error: 'getDWARFAddressSpace' was not declared in this scope 1004 | getDWARFAddressSpace(), getFlags(), getExtraData(), getAnnotations()); | ^~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:327:45: error: 'nullopt' is not a member of 'std' 327 | return dropUnknownNonDebugMetadata(std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:330:48: error: missing template arguments before '(' token 330 | return dropUnknownNonDebugMetadata(ArrayRef(ID1)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std' 68 | using EnableIfCallable = std::enable_if_t>::value>; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/type_traits:2554:11: note: provided for 'template using enable_if_t = typename std::enable_if::type' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, 2554 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; | ^~~~~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:15: error: 'llvm::detail::EnableIfCallable' has not been declared 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:31: error: expected ',' or '...' before '<' token 378 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:377:7: note: ...following parameter 2 which has a default argument 377 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:15: error: 'llvm::detail::EnableIfCallable' has not been declared 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:31: error: expected ',' or '...' before '<' token 404 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:403:7: note: ...following parameter 2 which has a default argument 403 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:8: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:3: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:15: error: 'optional' in namespace 'std' does not name a template type 66 | inline std::optional getLevel(IDType ID) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:10: note: 'std::optional' is only available from C++17 onwards 66 | inline std::optional getLevel(IDType ID) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:15: error: 'optional' in namespace 'std' does not name a template type 74 | inline std::optional parseLevel(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:10: note: 'std::optional' is only available from C++17 onwards 74 | inline std::optional parseLevel(char C) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:8: error: 'optional' in namespace 'std' does not name a template type 103 | std::optional tryExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:3: note: 'std::optional' is only available from C++17 onwards 103 | std::optional tryExtValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:8: error: 'optional' in namespace 'std' does not name a template type 866 | std::optional getCodeModel() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:3: note: 'std::optional' is only available from C++17 onwards 866 | std::optional getCodeModel() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleIdentifier(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: note: candidate expects 3 arguments, 1 provided 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setSourceFileName(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: note: candidate expects 3 arguments, 1 provided 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13, /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:18: error: 'optional' in namespace 'std' does not name a template type 141 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:13: note: 'std::optional' is only available from C++17 onwards 141 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:26: error: expected ',' or '...' before '<' token 141 | const std::optional &NumElemsArg); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setTargetTriple(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: note: candidate expects 3 arguments, 1 provided 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' 234 | std::pair> getAllocSizeArgs() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:45: error: template argument 2 is invalid 234 | std::pair> getAllocSizeArgs() const; | ^~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:8: error: 'optional' in namespace 'std' does not name a template type 241 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:3: note: 'std::optional' is only available from C++17 onwards 241 | std::optional getVScaleRangeMax() const; | ^~~ 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'std::string llvm::toString(const llvm::APInt&, unsigned int, bool, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:8: error: 'optional' in namespace 'std' does not name a template type 379 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:3: note: 'std::optional' is only available from C++17 onwards 379 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:8: error: 'optional' in namespace 'std' does not name a template type 382 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:3: note: 'std::optional' is only available from C++17 onwards 382 | std::optional getVScaleRangeMax() const; | ^~~ 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef)' 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:36: error: 'optional' in namespace 'std' does not name a template type 735 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:31: note: 'std::optional' is only available from C++17 onwards 735 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:44: error: expected ',' or '...' before '<' token 735 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: note: candidate expects 3 arguments, 1 provided 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleInlineAsm(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: note: candidate expects 3 arguments, 1 provided 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'size_t llvm::detail::join_items_size(Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:455:65: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 455 | return (0 + ... + join_one_item_size(std::forward(Items))); | ^ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' 73 | std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: error: 'negation' is not a member of 'std' 74 | std::negation, Any>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: note: 'std::negation' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:68: error: template argument 1 is invalid 74 | std::negation, Any>>, | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:26: error: 'std::negation' has not been declared 85 | std::negation>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:34: error: expected '>' before '<' token 85 | std::negation>>, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:86:67: error: 'value' in namespace '::' does not name a type 86 | std::is_copy_constructible>>::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:22: error: 'is_scalar_v' is not a member of 'std'; did you mean 'is_scalar'? 83 | static_assert(std::is_scalar_v, | ^~~~~~~~~~~ | is_scalar /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:37: error: expected primary-expression before '>' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:38: error: expected primary-expression before ',' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:8: error: 'optional' in namespace 'std' does not name a template type 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:3: note: 'std::optional' is only available from C++17 onwards 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:44: error: 'optional' in namespace 'std' does not name a template type 1197 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:39: note: 'std::optional' is only available from C++17 onwards 1197 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:52: error: expected ',' or '...' before '<' token 1197 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:40: error: 'std::optional' has not been declared 1201 | std::optional MaxValue); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:48: error: expected ',' or '...' before '<' token 1201 | std::optional MaxValue); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:8: error: 'optional' in namespace 'std' does not name a template type 219 | std::optional FirstByteOffset; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:3: note: 'std::optional' is only available from C++17 onwards 219 | std::optional FirstByteOffset; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:57: error: 'std::optional' has not been declared 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:65: error: expected ',' or '...' before '<' token 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In constructor 'llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:19: error: class 'llvm::FormattedBytes' does not have any field named 'FirstByteOffset' 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1114:35: error: return type 'struct llvm::MaybeAlign' is incomplete 1114 | MaybeAlign getAlignment() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:35: error: 'O' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:67: error: 'NPL' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:70: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1119:40: error: return type 'struct llvm::MaybeAlign' is incomplete 1119 | MaybeAlign getStackAlignment() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:23: error: 'BGS' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:35: error: 'U' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getStackAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:75: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:45: error: 'A' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:19: error: 'std::optional' has not been declared 240 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:27: error: expected ',' or '...' before '<' token 240 | std::optional FirstByteOffset = std::nullopt, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1126:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1126 | return getRawIntAttr(Attribute::Dereferenceable).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:15: error: 'optional' in namespace 'std' does not name a template type 1383 | static std::optional getEmissionKind(StringRef Str); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:10: note: 'std::optional' is only available from C++17 onwards 1383 | static std::optional getEmissionKind(StringRef Str); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:15: error: 'optional' in namespace 'std' does not name a template type 1385 | static std::optional getNameTableKind(StringRef Str); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:10: note: 'std::optional' is only available from C++17 onwards 1385 | static std::optional getNameTableKind(StringRef Str); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:32: error: 'IndentLevel' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableOrNullBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1132:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1132 | return getRawIntAttr(Attribute::DereferenceableOrNull).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1172:45: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1172 | return addAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addStackAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1184:50: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1184 | return addStackAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1792:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1792 | [isl_ai_key_sink] = "sink", | ^~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1793:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1793 | [isl_ai_key_must_source] = "must_source", | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1794:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1794 | [isl_ai_key_may_source] = "may_source", | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1795:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1795 | [isl_ai_key_kill] = "kill", | ^~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1796:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1796 | [isl_ai_key_schedule_map] = "schedule_map", | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1797:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1797 | [isl_ai_key_schedule] = "schedule", | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:45: error: 'FirstByteOffset' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:38: error: 'string_view' in namespace 'std' does not name a type 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:33: note: 'std::string_view' is only available from C++17 onwards 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:62: error: 'NumPerLine' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In member function 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:22: error: request for member 'data' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:34: error: request for member 'length' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:26: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_fold_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:16: error: 'optional' in namespace 'std' does not name a template type 459 | mutable std::optional HasColors; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:11: note: 'std::optional' is only available from C++17 onwards 459 | mutable std::optional HasColors; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_fold_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:25: error: 'ByteGroupSize' was not declared in this scope 244 | ByteGroupSize, Upper, false); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_fold_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 244 | ByteGroupSize, Upper, false); | ^~~~~ | toUpper /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:30: error: 'std::optional' has not been declared 249 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token 249 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes_with_ascii(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:32: error: 'IndentLevel' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_fold_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:45: error: 'FirstByteOffset' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1876: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/extract_key.c: In function 'extract_key': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/extract_key.c:27:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 27 | isl_stream_error(s, tok, "expecting key"); | ^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:28: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *' 61 | char *msg); | ~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:62: error: 'NumPerLine' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std' 68 | using EnableIfCallable = std::enable_if_t>::value>; | ^~ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/char_traits.h:39, from /usr/include/g++/string:40, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/type_traits:2554:11: note: provided for 'template using enable_if_t = typename std::enable_if::type' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:8: error: 'optional' in namespace 'std' does not name a template type 1670 | std::optional getSource() const { return getScope()->getSource(); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:3: note: 'std::optional' is only available from C++17 onwards 1670 | std::optional getSource() const { return getScope()->getSource(); } | ^~~ 2554 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:15: error: 'optional' in namespace 'std' does not name a template type 1737 | inline std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:10: note: 'std::optional' is only available from C++17 onwards 1737 | inline std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:15: error: 'optional' in namespace 'std' does not name a template type 1754 | inline std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:10: note: 'std::optional' is only available from C++17 onwards 1754 | inline std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:15: error: 'optional' in namespace 'std' does not name a template type 1813 | static std::optional encodeDiscriminator(unsigned BD, unsigned DF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:10: note: 'std::optional' is only available from C++17 onwards 1813 | static std::optional encodeDiscriminator(unsigned BD, unsigned DF, | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c: In function 'isl_stream_read_union_access_info': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1923:43: warning: implicit conversion from 'enum isl_ai_key' to 'enum isl_access_type' [-Wenum-conversion] 1923 | info = isl_union_access_info_set(info, key, access); | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1949:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1949 | isl_stream_error(s, NULL, "unexpected extra elements"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:28: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *' 61 | char *msg); | ~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:25: error: 'ByteGroupSize' was not declared in this scope 253 | ByteGroupSize, Upper, true); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1954:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1954 | isl_stream_error(s, NULL, "no sink specified"); | ^~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:28: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *' 61 | char *msg); | ~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 253 | ByteGroupSize, Upper, true); | ^~~~~ | toUpper /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1959:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1959 | isl_stream_error(s, NULL, "no schedule specified"); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:28: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *' 61 | char *msg); | ~~~~~~^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:15: error: 'llvm::detail::EnableIfCallable' has not been declared 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:31: error: expected ',' or '...' before '<' token 378 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:377:7: note: ...following parameter 2 which has a default argument 377 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:15: error: 'llvm::detail::EnableIfCallable' has not been declared 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:31: error: expected ',' or '...' before '<' token 404 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:403:7: note: ...following parameter 2 which has a default argument 403 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_qpolynomial_fold_add_dup_piece': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 75 | isl_assert(ctx, pw->n < pw->size, goto error); | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4' 148 | if (test) \ | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:2: note: in expansion of macro 'isl_assert' 75 | isl_assert(ctx, pw->n < pw->size, goto error); | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:953: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_qpolynomial_fold_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:511:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 511 | if (pw->n + n <= pw->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_qpolynomial_fold_add_disjoint': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:541:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 541 | if (pw1->size < pw1->n + pw2->n && pw1->n < pw2->n) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:47: error: 'std::nullopt_t' has not been declared 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:53: error: 'optional' in namespace 'std' does not name a template type 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:48: note: 'std::optional' is only available from C++17 onwards 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:61: error: expected ',' or '...' before '<' token 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In function 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:762:7: error: 'O' was not declared in this scope; did you mean 'OS'? 762 | if (O) | ^ | OS /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:765:16: error: 'nullopt' is not a member of 'std' 765 | OS << std::nullopt; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h: In member function 'llvm::ArrayRef llvm::Type::subtypes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:355:20: error: missing template arguments before '(' token 355 | return ArrayRef(subtype_begin(), subtype_end()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' 294 | template struct DenseMapInfo> { | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: expected parameter pack before '...' 294 | template struct DenseMapInfo> { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: template argument 1 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:65: error: expected unqualified-id before '>' token 294 | template struct DenseMapInfo> { | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::FunctionType::params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:131:20: error: missing template arguments before '(' token 131 | return ArrayRef(param_begin(), param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:27: error: 'are_base_of' was not declared in this scope 245 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 245 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:59: error: expected ';' before ',' token 245 | static std::enable_if_t::value, StructType *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:27: error: 'are_base_of' was not declared in this scope 262 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 262 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:59: error: expected ';' before ',' token 262 | static std::enable_if_t::value, StructType *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:267:3: error: redeclaration of 'template int llvm::StructType::value' 267 | } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:54: note: previous declaration 'template int llvm::StructType::value' 245 | static std::enable_if_t::value, StructType *> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:20: error: 'are_base_of' was not declared in this scope 305 | std::enable_if_t::value, void> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:44: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 305 | std::enable_if_t::value, void> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:52: error: expected ';' before ',' token 305 | std::enable_if_t::value, void> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:47: error: data member 'value' cannot be a member template 305 | std::enable_if_t::value, void> | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1918:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1918 | sink_set = 1; | ~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::StructType::elements() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:320:20: error: missing template arguments before '(' token 320 | return ArrayRef(element_begin(), element_end()); | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1919:3: note: here 1919 | case isl_ai_key_must_source: | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:70: error: template argument 1 is invalid 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:73: error: expected unqualified-id before '>' token 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:70: error: template argument 1 is invalid 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:73: error: expected unqualified-id before '>' token 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 180 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:37: error: expected primary-expression before '>' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:38: error: expected primary-expression before ',' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 246 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:37: error: expected primary-expression before '>' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:38: error: expected primary-expression before ',' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 259 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:37: error: expected primary-expression before '>' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:38: error: expected primary-expression before ',' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 272 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:37: error: expected primary-expression before '>' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:38: error: expected primary-expression before ',' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::bit_width(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 282 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:37: error: expected primary-expression before '>' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:38: error: expected primary-expression before ',' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_floor(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 292 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:37: error: expected primary-expression before '>' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:38: error: expected primary-expression before ',' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_ceil(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 307 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:37: error: expected primary-expression before '>' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:38: error: expected primary-expression before ',' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:70: error: template argument 1 is invalid 348 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:73: error: expected unqualified-id before '>' token 348 | template >> | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 78 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:37: error: expected primary-expression before '>' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:38: error: expected primary-expression before ',' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 90 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:37: error: expected primary-expression before '>' token 90 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:38: error: expected primary-expression before ',' token 90 | static_assert(std::is_unsigned_v, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:59: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:754:59: error: 'nullopt' is not a member of 'std' 754 | ArrayRef Types = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:755:60: error: 'nullopt' is not a member of 'std' 755 | ArrayRef Ints = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::type_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:765:20: error: missing template arguments before '(' token 765 | return ArrayRef(type_param_begin(), type_param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::int_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:780:20: error: missing template arguments before '(' token 780 | return ArrayRef(IntParams, getNumIntParameters()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isInt(int64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:212:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 212 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:214:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 214 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:216:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 216 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:218:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 218 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:17: error: 'std::enable_if_t' is not a type 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:28: error: expected ',' or '...' before '<' token 512 | std::enable_if_t> * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isUInt(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:238:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 238 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:240:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 240 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:242:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 242 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:325:16: error: 'has_single_bit' is not a member of 'llvm' 325 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:330:16: error: 'has_single_bit' is not a member of 'llvm' 330 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:59: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 341 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:37: error: expected primary-expression before '>' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:38: error: expected primary-expression before ',' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 354 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:37: error: expected primary-expression before '>' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:38: error: expected primary-expression before ',' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countPopulation(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 364 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:37: error: expected primary-expression before '>' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:38: error: expected primary-expression before ',' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:366:26: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 366 | return (unsigned)llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c: In function 'isl_qpolynomial_list_plain_is_equal': In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_32(uint32_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:379:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 379 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:1331:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1331 | for (i = 0; i < n; ++i) { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_64(uint64_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:392:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 392 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:6: error: 'optional' in namespace 'std' does not name a template type 2277 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:1: note: 'std::optional' is only available from C++17 onwards 2277 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:6: error: 'optional' in namespace 'std' does not name a template type 2296 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:1: note: 'std::optional' is only available from C++17 onwards 2296 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:17: error: 'std::enable_if_t' is not a type 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:28: error: expected ',' or '...' before '<' token 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:55: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:12: error: 'std::enable_if_t' is not a type 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:23: error: expected ',' or '...' before '<' token 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:537:12: error: 'template template llvm::Expected::Expected(llvm::Expected&&, int)' cannot be overloaded with 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 537 | explicit Expected( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:529:3: note: previous declaration 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 529 | Expected(Expected &&Other, | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:38: error: template argument 1 is invalid 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:39: error: expected unqualified-id before ',' token 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:8: error: 'optional' in namespace 'std' does not name a template type 642 | std::optional getAbsoluteSymbolRange() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:3: note: 'std::optional' is only available from C++17 onwards 642 | std::optional getAbsoluteSymbolRange() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'uint64_t llvm::GlobalObject::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:16: error: variable 'llvm::MaybeAlign Align' has initializer but incomplete type 71 | MaybeAlign Align = getAlign(); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:33: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 71 | MaybeAlign Align = getAlign(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:79:31: error: return type 'struct llvm::MaybeAlign' is incomplete 79 | MaybeAlign getAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:28: error: 'optional' in namespace 'std' does not name a template type 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:23: note: 'std::optional' is only available from C++17 onwards 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:28: error: 'optional' in namespace 'std' does not name a template type 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:23: note: 'std::optional' is only available from C++17 onwards 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'void llvm::GlobalObject::getAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:82:12: error: 'decodeMaybeAlign' was not declared in this scope 82 | return decodeMaybeAlign(AlignmentData); | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:34: error: 'std::optional' has not been declared 1301 | FileError(const Twine &F, std::optional LineNum, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:42: error: expected ',' or '...' before '<' token 1301 | FileError(const Twine &F, std::optional LineNum, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:43: error: 'std::optional' has not been declared 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:51: error: expected ',' or '...' before '<' token 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:8: error: 'optional' in namespace 'std' does not name a template type 1321 | std::optional Line; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:3: note: 'std::optional' is only available from C++17 onwards 1321 | std::optional Line; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In member function 'virtual void llvm::FileError::log(llvm::raw_ostream&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1279:9: error: 'Line' was not declared in this scope 1279 | if (Line) | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In constructor 'llvm::FileError::FileError(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1305:21: error: 'E' was not declared in this scope 1305 | Err = std::move(E); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:5: error: 'Line' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:22: error: 'LineNum' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In static member function 'static llvm::Error llvm::FileError::build(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1311:31: error: 'E' was not declared in this scope 1311 | handleAllErrors(std::move(E), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1317:53: error: 'Line' was not declared in this scope 1317 | std::unique_ptr(new FileError(F, Line, std::move(Payload)))); | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:8: error: 'optional' in namespace 'std' does not name a template type 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:3: note: 'std::optional' is only available from C++17 onwards 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:8: error: 'optional' in namespace 'std' does not name a template type 301 | std::optional getSectionPrefix() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:3: note: 'std::optional' is only available from C++17 onwards 301 | std::optional getSectionPrefix() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'bool llvm::Function::hasProfileData(bool) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:290:12: error: 'getEntryCount' was not declared in this scope; did you mean 'setEntryCount'? 290 | return getEntryCount(IncludeSynthetic).has_value(); | ^~~~~~~~~~~~~ | setEntryCount /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:425:38: error: return type 'struct llvm::MaybeAlign' is incomplete 425 | MaybeAlign getFnStackAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getFnStackAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:426:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 426 | return AttributeSets.getFnStackAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:440:50: error: return type 'struct llvm::MaybeAlign' is incomplete 440 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:441:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 441 | return AttributeSets.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:444:55: error: return type 'struct llvm::MaybeAlign' is incomplete 444 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:445:54: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 445 | return AttributeSets.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: error: 'optional' is not a member of 'std' 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:50: error: expected primary-expression before '>' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:52: error: expected primary-expression before ')' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, size_t, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: error: 'optional' is not a member of 'std' 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:50: error: expected primary-expression before '>' token 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:8: error: 'optional' in namespace 'std' does not name a template type 2563 | std::optional getSizeInBits() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:3: note: 'std::optional' is only available from C++17 onwards 2563 | std::optional getSizeInBits() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:8: error: 'optional' in namespace 'std' does not name a template type 2567 | std::optional getSignedness() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:3: note: 'std::optional' is only available from C++17 onwards 2567 | std::optional getSignedness() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:8: error: 'optional' in namespace 'std' does not name a template type 2585 | std::optional getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:3: note: 'std::optional' is only available from C++17 onwards 2585 | std::optional getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:8: error: 'optional' in namespace 'std' does not name a template type 2647 | std::optional isConstant() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:3: note: 'std::optional' is only available from C++17 onwards 2647 | std::optional isConstant() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:15: error: 'optional' in namespace 'std' does not name a template type 2779 | static std::optional getFragmentInfo(expr_op_iterator Start, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:10: note: 'std::optional' is only available from C++17 onwards 2779 | static std::optional getFragmentInfo(expr_op_iterator Start, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:8: error: 'optional' in namespace 'std' does not name a template type 2783 | std::optional getFragmentInfo() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:3: note: 'std::optional' is only available from C++17 onwards 2783 | std::optional getFragmentInfo() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:15: error: 'optional' in namespace 'std' does not name a template type 2820 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:10: note: 'std::optional' is only available from C++17 onwards 2820 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:15: error: 'optional' in namespace 'std' does not name a template type 2927 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:10: note: 'std::optional' is only available from C++17 onwards 2927 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIExpression::DIExpression(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2618:51: error: 'nullopt' is not a member of 'std' 2618 | : MDNode(C, DIExpressionKind, Storage, std::nullopt), | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:705:39: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:12: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 42 | std::is_integral_v, | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:55: error: expected '(' before '>' token 42 | std::is_integral_v, | ^ | ( /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:56: error: expected primary-expression before ',' token 42 | std::is_integral_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: In member function 'ValueT llvm::MapVector::lookup(const KeyT&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:24: error: 'is_copy_constructible_v' is not a member of 'std'; did you mean 'is_copy_constructible'? 112 | static_assert(std::is_copy_constructible_v, | ^~~~~~~~~~~~~~~~~~~~~~~ | is_copy_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:54: error: expected primary-expression before '>' token 112 | static_assert(std::is_copy_constructible_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:55: error: expected primary-expression before ',' token 112 | static_assert(std::is_copy_constructible_v, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h:107:1: warning: inline variables are only available with '-std=c++17' or '-std=gnu++17' 107 | inline constexpr force_iteration_on_noniterable_enum_t | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DIExpression::isFragment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2788:36: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'? 2788 | bool isFragment() const { return getFragmentInfo().has_value(); } | ^~~~~~~~~~~~~~~ | FragmentInfo In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:43: error: template argument 1 is invalid 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h: In function 'decltype(auto) llvm::get(const llvm::StringMapEntry&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:155:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 155 | if constexpr (Index == 0) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'int llvm::DIExpression::fragmentCmp(const llvm::DIExpression*) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2965:23: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'? 2965 | auto Fragment1 = *getFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2966:30: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'? 2966 | auto Fragment2 = *Other->getFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, 2>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:705:39: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h: In member function 'void llvm::RepeatedPass::printPipeline(llvm::raw_ostream&, llvm::function_ref)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1342:21: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 1342 | OS << "repeat<" << Count << ">("; | ~~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | int | llvm::raw_ostream /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, 2>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)' 190 | raw_ostream &operator<<(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)' 197 | raw_ostream &operator<<(unsigned char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)' 204 | raw_ostream &operator<<(signed char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)' 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)' 260 | raw_ostream &operator<<(unsigned long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)' 261 | raw_ostream &operator<<(long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)' 262 | raw_ostream &operator<<(unsigned long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)' 263 | raw_ostream &operator<<(long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)' 266 | raw_ostream &operator<<(unsigned int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)' 270 | raw_ostream &operator<<(int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)' 274 | raw_ostream &operator<<(double N); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)' 553 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)' 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:8: error: 'optional' in namespace 'std' does not name a template type 232 | std::optional identifyObject(const void *Ptr) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:3: note: 'std::optional' is only available from C++17 onwards 232 | std::optional identifyObject(const void *Ptr) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:8: error: 'optional' in namespace 'std' does not name a template type 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:3: note: 'std::optional' is only available from C++17 onwards 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:8: error: 'optional' in namespace 'std' does not name a template type 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:3: note: 'std::optional' is only available from C++17 onwards 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: In member function 'int64_t llvm::BumpPtrAllocatorImpl::identifyKnownObject(const void*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: error: 'optional' is not a member of 'std' 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:26: error: expected primary-expression before '>' token 259 | std::optional Out = identifyObject(Ptr); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1743:34: error: return type 'struct llvm::MaybeAlign' is incomplete 1743 | MaybeAlign getRetAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getRetAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1744:44: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1744 | if (auto Align = Attrs.getRetAlignment()) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1747:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1747 | return F->getAttributes().getRetAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:28: error: 'Out' was not declared in this scope 259 | std::optional Out = identifyObject(Ptr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: error: there are no arguments to 'identifyObject' that depend on a template parameter, so a declaration of 'identifyObject' must be available [-fpermissive] 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1748:17: error: 'nullopt' is not a member of 'std' 1748 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1752:50: error: return type 'struct llvm::MaybeAlign' is incomplete 1752 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1753:41: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1753 | return Attrs.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1756:55: error: return type 'struct llvm::MaybeAlign' is incomplete 1756 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1757:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1757 | return Attrs.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:17: error: 'optional' in namespace 'std' does not name a template type 668 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:12: note: 'std::optional' is only available from C++17 onwards 668 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:8: error: 'optional' in namespace 'std' does not name a template type 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:3: note: 'std::optional' is only available from C++17 onwards 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:6: error: 'optional' in namespace 'std' does not name a template type 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:1: note: 'std::optional' is only available from C++17 onwards 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:6: error: 'optional' in namespace 'std' does not name a template type 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:1: note: 'std::optional' is only available from C++17 onwards 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:6: error: 'optional' in namespace 'std' does not name a template type 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:1: note: 'std::optional' is only available from C++17 onwards 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:8: error: 'optional' in namespace 'std' does not name a template type 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:3: note: 'std::optional' is only available from C++17 onwards 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:8: error: 'optional' in namespace 'std' does not name a template type 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:3: note: 'std::optional' is only available from C++17 onwards 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h: In member function 'void llvm::RepeatedPass::printPipeline(llvm::raw_ostream&, llvm::function_ref)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1342:21: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 1342 | OS << "repeat<" << Count << ">("; | ~~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | int | llvm::raw_ostream In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)' 190 | raw_ostream &operator<<(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)' 197 | raw_ostream &operator<<(unsigned char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)' 204 | raw_ostream &operator<<(signed char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)' 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)' 260 | raw_ostream &operator<<(unsigned long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)' 261 | raw_ostream &operator<<(long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)' 262 | raw_ostream &operator<<(unsigned long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)' 263 | raw_ostream &operator<<(long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)' 266 | raw_ostream &operator<<(unsigned int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)' 270 | raw_ostream &operator<<(int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)' 274 | raw_ostream &operator<<(double N); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)' 553 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)' 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FloatingPointMode.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APFloat.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:8: error: 'optional' in namespace 'std' does not name a template type 50 | std::optional Result; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:3: note: 'std::optional' is only available from C++17 onwards 50 | std::optional Result; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch::StringSwitch(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:54:13: error: class 'llvm::StringSwitch' does not have any field named 'Result' 54 | : Str(S), Result() { } | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch::StringSwitch(llvm::StringSwitch&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:64:23: error: class 'llvm::StringSwitch' does not have any field named 'Result' 64 | : Str(other.Str), Result(std::move(other.Result)) { } | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::Case(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:70:10: error: 'Result' was not declared in this scope 70 | if (!Result && Str == S) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::EndsWith(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:77:10: error: 'Result' was not declared in this scope 77 | if (!Result && Str.endswith(S)) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::StartsWith(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:84:10: error: 'Result' was not declared in this scope 84 | if (!Result && Str.startswith(S)) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::CaseLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:143:10: error: 'Result' was not declared in this scope 143 | if (!Result && Str.equals_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::EndsWithLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:150:10: error: 'Result' was not declared in this scope 150 | if (!Result && Str.endswith_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3516:48: error: 'nullopt' is not a member of 'std' 3516 | ArrayRef Ops2 = std::nullopt) | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::StartsWithLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:157:10: error: 'Result' was not declared in this scope 157 | if (!Result && Str.startswith_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'R llvm::StringSwitch::Default(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:183:9: error: 'Result' was not declared in this scope 183 | if (Result) | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h: In member function 'llvm::BitVector::size_type llvm::BitVector::count() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:158:24: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 158 | NumBits += llvm::popcount(Bit); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch::operator R()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:190:23: error: 'Result' was not declared in this scope 190 | return std::move(*Result); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1541:69: error: 'nullopt' is not a member of 'std' 1541 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1581:69: error: 'nullopt' is not a member of 'std' 1581 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1642:58: error: 'nullopt' is not a member of 'std' 1642 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1647:58: error: 'nullopt' is not a member of 'std' 1647 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In constructor 'llvm::CallInst::CallInst(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1496:39: error: 'nullopt' is not a member of 'std' 1496 | : CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore) {} | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1537:39: error: 'nullopt' is not a member of 'std' 1537 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1560:39: error: 'nullopt' is not a member of 'std' 1560 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertAtEnd); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:10: error: 'optional' in namespace 'std' does not name a template type 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:5: note: 'std::optional' is only available from C++17 onwards 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:8: error: 'optional' in namespace 'std' does not name a template type 152 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:3: note: 'std::optional' is only available from C++17 onwards 152 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:153:73: error: expected unqualified-id before ')' token 153 | get_threadpool_strategy(StringRef Num, ThreadPoolStrategy Default = {}); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: In function 'llvm::ThreadPoolStrategy llvm::heavyweight_hardware_concurrency(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: error: 'optional' is not a member of 'std' 174 | std::optional S = | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:37: error: expected primary-expression before '>' token 174 | std::optional S = | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:39: error: 'S' was not declared in this scope 174 | std::optional S = | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:175:9: error: 'get_threadpool_strategy' was not declared in this scope; did you mean 'ThreadPoolStrategy'? 175 | get_threadpool_strategy(Num, heavyweight_hardware_concurrency()); | ^~~~~~~~~~~~~~~~~~~~~~~ | ThreadPoolStrategy /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIArgList::DIArgList(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3679:48: error: 'nullopt' is not a member of 'std' 3679 | : MDNode(C, DIArgListKind, Storage, std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:8: error: 'optional' in namespace 'std' does not name a template type 3729 | std::optional Fragment; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:3: note: 'std::optional' is only available from C++17 onwards 3729 | std::optional Fragment; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:22: error: 'std::optional' has not been declared 3740 | std::optional FragmentInfo, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:30: error: expected ',' or '...' before '<' token 3740 | std::optional FragmentInfo, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:8: error: 'optional' in namespace 'std' does not name a template type 3751 | std::optional getFragment() const { return Fragment; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:3: note: 'std::optional' is only available from C++17 onwards 3751 | std::optional getFragment() const { return Fragment; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:24: error: class 'llvm::DebugVariable' does not have any field named 'Fragment' 3742 | : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:45: error: expected primary-expression before ')' token 3742 | : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: warning: 'llvm::DebugVariable::InlinedAt' is initialized with itself [-Winit-self] 3739 | DebugVariable(const DILocalVariable *Var, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:9: error: class 'llvm::DebugVariable' does not have any field named 'Fragment' 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:35: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'? 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:60: error: 'nullopt' is not a member of 'std' 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::DebugVariable::FragmentInfo llvm::DebugVariable::getFragmentOrDefault() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3755:12: error: 'Fragment' was not declared in this scope 3755 | return Fragment.value_or(DefaultFragment); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:152:48: error: return type 'struct llvm::MaybeAlign' is incomplete 152 | inline MaybeAlign getMaybeAlignValue() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'void llvm::ConstantInt::getMaybeAlignValue() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:153:37: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 153 | return MaybeAlign(getZExtValue()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'llvm::Align llvm::ConstantInt::getAlignValue() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:30: error: invalid use of 'void' 160 | return getMaybeAlignValue().valueOrOne(); | ~~~~~~~~~~~~~~~~~~^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: expected ';' before 'valueOrOne' 160 | return getMaybeAlignValue().valueOrOne(); | ^~~~~~~~~~ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator==(const llvm::DebugVariable&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3763:31: error: 'Fragment' was not declared in this scope 3763 | return std::tie(Variable, Fragment, InlinedAt) == | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3764:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'? 3764 | std::tie(Other.Variable, Other.Fragment, Other.InlinedAt); | ^~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator<(const llvm::DebugVariable&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3768:31: error: 'Fragment' was not declared in this scope 3768 | return std::tie(Variable, Fragment, InlinedAt) < | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3769:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'? 3769 | std::tie(Other.Variable, Other.Fragment, Other.InlinedAt); | ^~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo::getEmptyKey()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3778:40: error: 'nullopt' is not a member of 'std' 3778 | return DebugVariable(nullptr, std::nullopt, nullptr); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo::getTombstoneKey()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3783:52: error: no matching function for call to 'llvm::DebugVariable::DebugVariable(std::nullptr_t, , std::nullptr_t)' 3783 | return DebugVariable(nullptr, {{0, 0}}, nullptr); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)' 3744 | DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: 'valueOrOne' was not declared in this scope 160 | return getMaybeAlignValue().valueOrOne(); | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:65: note: no known conversion for argument 2 from '' to 'const llvm::DIExpression*' 3744 | DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)' 3739 | DebugVariable(const DILocalVariable *Var, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate expects 2 arguments, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DbgVariableIntrinsic*)' 3737 | DebugVariable(const DbgVariableIntrinsic *DII); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(const llvm::DebugVariable&)' 3725 | class DebugVariable { | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(llvm::DebugVariable&&)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::DebugVariable&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:16: error: 'optional' in namespace 'std' does not name a template type 3788 | const std::optional Fragment = D.getFragment(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:11: note: 'std::optional' is only available from C++17 onwards 3788 | const std::optional Fragment = D.getFragment(); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h: In static member function 'static void llvm::SmallVectorTemplateBase >::uninitialized_move(It1, It1, It2)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h:352:10: error: 'uninitialized_move' is not a member of 'std'; did you mean 'uninitialized_copy'? 352 | std::uninitialized_move(I, E, Dest); | ^~~~~~~~~~~~~~~~~~ | uninitialized_copy /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3789:9: error: 'Fragment' was not declared in this scope 3789 | if (Fragment) | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:6: error: 'optional' in namespace 'std' does not name a template type 49 | std::optional convertStrToRoundingMode(StringRef); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:1: note: 'std::optional' is only available from C++17 onwards 49 | std::optional convertStrToRoundingMode(StringRef); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:6: error: 'optional' in namespace 'std' does not name a template type 53 | std::optional convertRoundingModeToStr(RoundingMode); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:1: note: 'std::optional' is only available from C++17 onwards 53 | std::optional convertRoundingModeToStr(RoundingMode); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:6: error: 'optional' in namespace 'std' does not name a template type 57 | std::optional convertStrToExceptionBehavior(StringRef); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:1: note: 'std::optional' is only available from C++17 onwards 57 | std::optional convertStrToExceptionBehavior(StringRef); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:6: error: 'optional' in namespace 'std' does not name a template type 61 | std::optional convertExceptionBehaviorToStr(fp::ExceptionBehavior); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:1: note: 'std::optional' is only available from C++17 onwards 61 | std::optional convertExceptionBehaviorToStr(fp::ExceptionBehavior); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:27: error: 'are_base_of' was not declared in this scope 455 | static std::enable_if_t::value, Constant *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:56: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 455 | static std::enable_if_t::value, Constant *> | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:33, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:77:53: error: 'nullopt' is not a member of 'std' 77 | ArrayRef Tys = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:93:56: error: 'nullopt' is not a member of 'std' 93 | ArrayRef Tys = std::nullopt); | ^~~~~~~ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/bits/stl_algobase.h:64, from /usr/include/g++/bits/char_traits.h:39, from /usr/include/g++/string:40, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:64: error: expected ';' before ',' token 455 | static std::enable_if_t::value, Constant *> | ^ | ; In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLFunctionalExtras.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:35: error: 'optional' in namespace 'std' does not name a template type 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:30: note: 'std::optional' is only available from C++17 onwards 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:43: error: expected ',' or '...' before '<' token 46 | auto transformOptional(const std::optional &O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:13: error: 'optional' in namespace 'std' does not name a template type 47 | -> std::optional { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:8: note: 'std::optional' is only available from C++17 onwards 47 | -> std::optional { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:21: error: expected initializer before '<' token 47 | -> std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: error: 'optional' is not a member of 'std' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:39: error: expected primary-expression before '>' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:43: error: label 'O' referenced outside of any function 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:46: error: expected primary-expression before 'const' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:63: error: expression list treated as compound expression in initializer [-fpermissive] 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:64: error: expected ';' before '->' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ | ; 57 | -> std::optional { | ~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:8: error: 'optional' in namespace 'std' does not name a template type 247 | std::optional remangleIntrinsicFunction(Function *F); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:3: note: 'std::optional' is only available from C++17 onwards 247 | std::optional remangleIntrinsicFunction(Function *F); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:104:54: error: expected ')' before 'Str' 104 | /*implicit*/ constexpr StringRef(std::string_view Str) | ~ ^~~~ | ) /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:248:14: error: expected type-specifier 248 | operator std::string_view() const { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'size_t llvm::StringRef::find(char, size_t) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: error: 'string_view' is not a member of 'std' 296 | return std::string_view(*this).find(C, From); | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: note: 'std::string_view' is only available from C++17 onwards In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:8: error: 'optional' in namespace 'std' does not name a template type 317 | std::optional getFragmentSizeInBits() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:3: note: 'std::optional' is only available from C++17 onwards 317 | std::optional getFragmentSizeInBits() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:8: error: 'optional' in namespace 'std' does not name a template type 320 | std::optional getFragment() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:3: note: 'std::optional' is only available from C++17 onwards 320 | std::optional getFragment() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::getAsInteger(unsigned int, T&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:470:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 470 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::consumeInteger(unsigned int, T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:499:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 499 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:8: error: 'optional' in namespace 'std' does not name a template type 3627 | std::optional> Weights; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:3: note: 'std::optional' is only available from C++17 onwards 3627 | std::optional> Weights; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:30: error: 'optional' in namespace 'std' does not name a template type 3636 | using CaseWeightOpt = std::optional; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:25: note: 'std::optional' is only available from C++17 onwards 3636 | using CaseWeightOpt = std::optional; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3654:54: error: 'CaseWeightOpt' has not been declared 3654 | void addCase(ConstantInt *OnVal, BasicBlock *Dest, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3660:41: error: 'CaseWeightOpt' has not been declared 3660 | void setSuccessorWeight(unsigned idx, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3661:3: error: 'CaseWeightOpt' does not name a type 3661 | CaseWeightOpt getSuccessorWeight(unsigned idx); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3663:10: error: 'CaseWeightOpt' does not name a type 3663 | static CaseWeightOpt getSuccessorWeight(const SwitchInst &SI, unsigned idx); | ^~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:35: error: 'string_view' in namespace 'std' does not name a type 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:30: note: 'std::string_view' is only available from C++17 onwards 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:15: error: 'optional' in namespace 'std' does not name a template type 492 | static std::optional getMaskParamPos(Intrinsic::ID IntrinsicID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:10: note: 'std::optional' is only available from C++17 onwards 492 | static std::optional getMaskParamPos(Intrinsic::ID IntrinsicID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:15: error: 'optional' in namespace 'std' does not name a template type 493 | static std::optional getVectorLengthParamPos( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:10: note: 'std::optional' is only available from C++17 onwards 493 | static std::optional getVectorLengthParamPos( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: In constructor 'llvm::Twine::Twine(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:294:34: error: request for member 'data' in 'Str', which is of non-class type 'const int' 294 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:295:37: error: request for member 'length' in 'Str', which is of non-class type 'const int' 295 | LHS.ptrAndLength.length = Str.length(); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:15: error: 'optional' in namespace 'std' does not name a template type 524 | static std::optional getMemoryPointerParamPos(Intrinsic::ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:10: note: 'std::optional' is only available from C++17 onwards 524 | static std::optional getMemoryPointerParamPos(Intrinsic::ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:15: error: 'optional' in namespace 'std' does not name a template type 528 | static std::optional getMemoryDataParamPos(Intrinsic::ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:10: note: 'std::optional' is only available from C++17 onwards 528 | static std::optional getMemoryDataParamPos(Intrinsic::ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:8: error: 'optional' in namespace 'std' does not name a template type 539 | std::optional getFunctionalOpcode() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:3: note: 'std::optional' is only available from C++17 onwards 539 | std::optional getFunctionalOpcode() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:15: error: 'optional' in namespace 'std' does not name a template type 544 | static std::optional getFunctionalOpcodeForVP(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:10: note: 'std::optional' is only available from C++17 onwards 544 | static std::optional getFunctionalOpcodeForVP(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:15: error: 'optional' in namespace 'std' does not name a template type 555 | static std::optional getStartParamPos(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:10: note: 'std::optional' is only available from C++17 onwards 555 | static std::optional getStartParamPos(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:15: error: 'optional' in namespace 'std' does not name a template type 556 | static std::optional getVectorParamPos(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:10: note: 'std::optional' is only available from C++17 onwards 556 | static std::optional getVectorParamPos(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:8: error: 'optional' in namespace 'std' does not name a template type 606 | std::optional getRoundingMode() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3870:71: error: 'nullopt' is not a member of 'std' 3870 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3914:71: error: 'nullopt' is not a member of 'std' 3914 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3864:64: error: 'nullopt' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:3: note: 'std::optional' is only available from C++17 onwards 606 | std::optional getRoundingMode() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:8: error: 'optional' in namespace 'std' does not name a template type 607 | std::optional getExceptionBehavior() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:3: note: 'std::optional' is only available from C++17 onwards 607 | std::optional getExceptionBehavior() const; | ^~~ 3864 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:847:35: error: return type 'struct llvm::MaybeAlign' is incomplete 847 | MaybeAlign getDestAlign() const { return getParamAlign(ARG_DEST); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:856:36: error: 'Alignment' has incomplete type 856 | void setDestAlignment(MaybeAlign Alignment) { | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3887:64: error: 'nullopt' is not a member of 'std' 3887 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:909:37: error: return type 'struct llvm::MaybeAlign' is incomplete 909 | MaybeAlign getSourceAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:919:38: error: 'Alignment' has incomplete type 919 | void setSourceAlignment(MaybeAlign Alignment) { | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantDataArray::get(llvm::LLVMContext&, ArrayTy&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:701:52: error: missing template arguments before '(' token 701 | return ConstantDataArray::get(Context, ArrayRef(Elts)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:25: error: 'std::optional' has not been declared 1247 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:33: error: expected ',' or '...' before '<' token 1247 | std::optional InRangeIndex = std::nullopt, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:8: error: 'shared_mutex' in namespace 'std' does not name a type 96 | std::shared_mutex impl; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionCallee, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3909:43: error: 'nullopt' is not a member of 'std' 3909 | IfException, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4077:52: error: 'nullopt' is not a member of 'std' 4077 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4125:71: error: 'nullopt' is not a member of 'std' In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_node_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/simple_ilist.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:25: error: 'std::optional' has not been declared 1255 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:33: error: expected ',' or '...' before '<' token 1255 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:25: error: 'std::optional' has not been declared 1266 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:33: error: expected ',' or '...' before '<' token 1266 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:3: note: 'std::shared_mutex' is only available from C++17 onwards 96 | std::shared_mutex impl; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:106:7: error: 'impl' was not declared in this scope 106 | impl.lock_shared(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:118:7: error: 'impl' was not declared in this scope 118 | impl.unlock_shared(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock()': 4125 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4070:69: error: 'nullopt' is not a member of 'std' 4070 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h: In function 'decltype(auto) llvm::get(const llvm::PointerIntPair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (I == 0) | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)' 1247 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1246:25: note: ...following parameter 4 which has a default argument 1246 | bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)' 1255 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:131:7: error: 'impl' was not declared in this scope 131 | impl.lock(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:144:7: error: 'impl' was not declared in this scope 144 | impl.unlock(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4095:69: error: 'nullopt' is not a member of 'std' 4095 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint16_t llvm::ByteSwap_16(uint16_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:51:60: error: 'byteswap' is not a member of 'llvm' 51 | inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1254:63: note: ...following parameter 4 which has a default argument 1254 | getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)' 1266 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1265:25: note: ...following parameter 4 which has a default argument 1265 | bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint32_t llvm::ByteSwap_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:54:60: error: 'byteswap' is not a member of 'llvm' 54 | inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint64_t llvm::ByteSwap_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:57:60: error: 'byteswap' is not a member of 'llvm' 57 | inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned char llvm::sys::getSwappedBytes(unsigned char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1250:24: error: missing template arguments before '(' token 1250 | Ty, C, ArrayRef((Value *const *)IdxList.data(), IdxList.size()), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:19: error: 'InRangeIndex' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:69:80: error: 'byteswap' is not a member of 'llvm' 69 | inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'signed char llvm::sys::getSwappedBytes(signed char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:70:80: error: 'byteswap' is not a member of 'llvm' 70 | inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'char llvm::sys::getSwappedBytes(char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:71:80: error: 'byteswap' is not a member of 'llvm' 71 | inline char getSwappedBytes( char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short unsigned int llvm::sys::getSwappedBytes(short unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:73:80: error: 'byteswap' is not a member of 'llvm' 73 | inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short int llvm::sys::getSwappedBytes(short int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:74:80: error: 'byteswap' is not a member of 'llvm' 74 | inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned int llvm::sys::getSwappedBytes(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:76:80: error: 'byteswap' is not a member of 'llvm' 76 | inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'int llvm::sys::getSwappedBytes(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:33: error: 'OnlyIfReducedTy' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:77:80: error: 'byteswap' is not a member of 'llvm' 77 | inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long unsigned int llvm::sys::getSwappedBytes(long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:79:80: error: 'byteswap' is not a member of 'llvm' 79 | inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long int llvm::sys::getSwappedBytes(long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:80:80: error: 'byteswap' is not a member of 'llvm' 80 | inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long unsigned int llvm::sys::getSwappedBytes(long long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:82:80: error: 'byteswap' is not a member of 'llvm' 82 | inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long int llvm::sys::getSwappedBytes(long long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:83:80: error: 'byteswap' is not a member of 'llvm' 83 | inline signed long long getSwappedBytes( signed long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'float llvm::sys::getSwappedBytes(float)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:91:17: error: 'byteswap' is not a member of 'llvm' 91 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'double llvm::sys::getSwappedBytes(double)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:101:17: error: 'byteswap' is not a member of 'llvm' 101 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'std::enable_if_t::value, T> llvm::sys::getSwappedBytes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:108:13: error: 'byteswap' is not a member of 'llvm' 108 | llvm::byteswap(static_cast>(C))); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:55: error: 'optional' in namespace 'std' does not name a template type 127 | template hash_code hash_value(const std::optional &arg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:50: note: 'std::optional' is only available from C++17 onwards 127 | template hash_code hash_value(const std::optional &arg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:63: error: expected ',' or '...' before '<' token 127 | template hash_code hash_value(const std::optional &arg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(const std::tuple<_Tps ...>&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: error: 'apply' is not a member of 'std' 658 | return std::apply([](const auto &...xs) { return hash_combine(xs...); }, arg); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: note: 'std::apply' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:55: error: 'optional' in namespace 'std' does not name a template type 668 | template hash_code hash_value(const std::optional &arg) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:50: note: 'std::optional' is only available from C++17 onwards 668 | template hash_code hash_value(const std::optional &arg) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:63: error: expected ',' or '...' before '<' token 668 | template hash_code hash_value(const std::optional &arg) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:669:10: error: 'arg' was not declared in this scope 669 | return arg ? hash_combine(true, *arg) : hash_value(false); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:24: error: 'disjunction' in namespace 'std' does not name a template type 144 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:19: note: 'std::disjunction' is only available from C++17 onwards 144 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:26: error: 'conjunction' in namespace 'std' does not name a template type 149 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:21: note: 'std::conjunction' is only available from C++17 onwards 149 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1260:64: error: 'InRangeIndex' was not declared in this scope 1260 | return getGetElementPtr(Ty, C, cast(Idx), InBounds, InRangeIndex, | ^~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:8: error: 'optional' in namespace 'std' does not name a template type 232 | std::optional identifyObject(const void *Ptr) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:3: note: 'std::optional' is only available from C++17 onwards 232 | std::optional identifyObject(const void *Ptr) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:37: error: 'is_one_of' was not declared in this scope 155 | : std::integral_constant::value && | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:55: error: template argument 2 is invalid 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:56: error: expected '{' before '::' token 155 | : std::integral_constant::value && | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:23: error: 'is_function_v' is not a member of 'std'; did you mean 'is_function'? 224 | bool = std::is_function_v>>> | ^~~~~~~~~~~~~ | is_function /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected primary-expression before '>>' token 224 | bool = std::is_function_v>>> | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected '>' before '>>' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:8: error: 'optional' in namespace 'std' does not name a template type 230 | std::optional Obj; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:3: note: 'std::optional' is only available from C++17 onwards 230 | std::optional Obj; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:23: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 232 | static_assert(!std::is_pointer_v, | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:46: error: expected primary-expression before '>' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:47: error: expected primary-expression before ',' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4506:63: error: 'nullopt' is not a member of 'std' 4506 | ArrayRef Args = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1261:29: error: 'OnlyIfReducedTy' was not declared in this scope 1261 | OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' 257 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 257 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:66: error: expected unqualified-id before '=' token 257 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' 263 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:64: error: template argument 1 is invalid 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:72: error: expected unqualified-id before '=' token 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::callable_detail::Callable >::Callable(const T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:26: error: class 'llvm::callable_detail::Callable >' does not have any field named 'Obj' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:35: error: 'in_place' is not a member of 'std' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(const llvm::callable_detail::Callable >&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:5: error: 'Obj' was not declared in this scope 243 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:16: error: 'nullopt' is not a member of 'std' 243 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(llvm::callable_detail::Callable >&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:5: error: 'Obj' was not declared in this scope 250 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:16: error: 'nullopt' is not a member of 'std' 250 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:31: error: 'Obj' was not declared in this scope 268 | bool valid() const { return Obj != std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:43: error: 'nullopt' is not a member of 'std' 268 | bool valid() const { return Obj != std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:25: error: 'Obj' was not declared in this scope 269 | bool reset() { return Obj = std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:36: error: 'nullopt' is not a member of 'std' 269 | bool reset() { return Obj = std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::reference()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:271:34: error: 'Obj' was not declared in this scope 271 | operator reference() { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::const_reference() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:272:46: error: 'Obj' was not declared in this scope 272 | operator const_reference() const { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:38: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:67: error: expected primary-expression before '>' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:69: error: expected primary-expression before ';' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:284:3: error: 'StorageT' does not name a type 284 | StorageT Func = nullptr; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: In member function 'int64_t llvm::BumpPtrAllocatorImpl::identifyKnownObject(const void*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: error: 'optional' is not a member of 'std' 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:26: error: expected primary-expression before '>' token 259 | std::optional Out = identifyObject(Ptr); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:13: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 307 | !std::is_same_v, Callable>, int | ^~~~~~~~~ | is_same /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:59: error: template argument 1 is invalid 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:308:7: error: expected unqualified-id before '=' token 308 | > = 0 | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' 313 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:28: error: 'Out' was not declared in this scope 259 | std::optional Out = identifyObject(Ptr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: error: there are no arguments to 'identifyObject' that depend on a template parameter, so a declaration of 'identifyObject' must be available [-fpermissive] 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 313 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:66: error: expected unqualified-id before '=' token 313 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In static member function 'static constexpr auto llvm::callable_detail::Callable::convertIn(In&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:288:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 288 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:318:31: error: 'Func' was not declared in this scope 318 | bool valid() const { return Func != nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'void llvm::callable_detail::Callable::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:319:18: error: 'Func' was not declared in this scope 319 | void reset() { Func = nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable::operator const T&() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:322:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 322 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:324:14: error: 'Func' was not declared in this scope 324 | return Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:26: error: 'is_reference_v' is not a member of 'std'; did you mean 'is_reference'? 326 | static_assert(std::is_reference_v, | ^~~~~~~~~~~~~~ | is_reference /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:42: error: expected primary-expression before '>' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:43: error: expected primary-expression before ',' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:13: error: 'optional' in namespace 'std' does not name a template type 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:8: note: 'std::optional' is only available from C++17 onwards 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:329:15: error: 'Func' was not declared in this scope 329 | return *Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:423:35: error: template argument 2 is invalid 423 | callable_detail::Callable F{}; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'auto llvm::reverse(ContainerTy&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:485:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 485 | if constexpr (has_rbegin::value) | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:44, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::ArrayRef() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:138:19: error: 'nullopt' is not a member of 'std' 138 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::MutableArrayRef()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:147:19: error: 'nullopt' is not a member of 'std' 147 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_common::test_all_equals(const llvm::detail::zip_common&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:790:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 790 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_shortest::test(const llvm::detail::zip_shortest&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:835:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 835 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:60: error: 'optional' in namespace 'std' does not name a template type 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:55: note: 'std::optional' is only available from C++17 onwards 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:68: error: expected initializer before '<' token 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:21: error: 'optional' in namespace 'std' does not name a template type 935 | using type = std::optional::test(const llvm::detail::zip_longest_iterator&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:966:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 966 | ...); | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:17: error: 'optional' in namespace 'std' does not name a template type 668 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:12: note: 'std::optional' is only available from C++17 onwards 668 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:8: error: 'optional' in namespace 'std' does not name a template type 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:3: note: 'std::optional' is only available from C++17 onwards 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:8: error: 'optional' in namespace 'std' does not name a template type 1506 | std::optional tryZExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:3: note: 'std::optional' is only available from C++17 onwards 1506 | std::optional tryZExtValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:8: error: 'optional' in namespace 'std' does not name a template type 1528 | std::optional trySExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:3: note: 'std::optional' is only available from C++17 onwards 1528 | std::optional trySExtValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:24: error: 'disjunction' in namespace 'std' does not name a template type 1511 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:19: note: 'std::disjunction' is only available from C++17 onwards 1511 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:26: error: 'conjunction' in namespace 'std' does not name a template type 1516 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:21: note: 'std::conjunction' is only available from C++17 onwards 1516 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:38: error: 'conjunction' in namespace 'std' does not name a template type 1675 | using sort_trivially_copyable = std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:33: note: 'std::conjunction' is only available from C++17 onwards 1675 | using sort_trivially_copyable = std::conjunction< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'void llvm::sort(IteratorTy, IteratorTy)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:25: error: 'sort_trivially_copyable' is not a member of 'llvm::detail' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:59: error: expected primary-expression before '>' token 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:62: error: '::value' has not been declared 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'decltype(auto) llvm::detail::get(const llvm::detail::result_pair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2173:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 2173 | if constexpr (i == 0) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::detail::all_of_zip_predicate_first(Predicate&&, Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: error: 'apply' is not a member of 'std' 2276 | if (!std::apply([&](auto &&...args) { return P(args...); }, *it)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: note: 'std::apply' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:6: error: 'optional' in namespace 'std' does not name a template type 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:1: note: 'std::optional' is only available from C++17 onwards 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:6: error: 'optional' in namespace 'std' does not name a template type 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:1: note: 'std::optional' is only available from C++17 onwards 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:6: error: 'optional' in namespace 'std' does not name a template type 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:1: note: 'std::optional' is only available from C++17 onwards 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: In member function 'unsigned int llvm::APInt::countPopulation() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1621:20: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 1621 | return llvm::popcount(U.VAL); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:6: error: 'optional' in namespace 'std' does not name a template type 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:1: note: 'std::optional' is only available from C++17 onwards 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:6: error: 'optional' in namespace 'std' does not name a template type 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:1: note: 'std::optional' is only available from C++17 onwards 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:127:14: error: field 'StackNaturalAlign' has incomplete type 'llvm::MaybeAlign' 127 | MaybeAlign StackNaturalAlign; | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:131:14: error: field 'FunctionPtrAlign' has incomplete type 'llvm::MaybeAlign' 131 | MaybeAlign FunctionPtrAlign; | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FloatingPointMode.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APFloat.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:8: error: 'optional' in namespace 'std' does not name a template type 50 | std::optional Result; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:3: note: 'std::optional' is only available from C++17 onwards 50 | std::optional Result; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch::StringSwitch(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:54:13: error: class 'llvm::StringSwitch' does not have any field named 'Result' 54 | : Str(S), Result() { } | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch::StringSwitch(llvm::StringSwitch&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:64:23: error: class 'llvm::StringSwitch' does not have any field named 'Result' 64 | : Str(other.Str), Result(std::move(other.Result)) { } | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:26: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:27: error: invalid use of '::' 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:44: error: expected ';' at end of member declaration 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::Case(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:70:10: error: 'Result' was not declared in this scope 70 | if (!Result && Str == S) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:33: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:34: error: invalid use of '::' 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:472:65: error: expected constructor, destructor, or type conversion before ';' token 472 | template ArrayRef(const T &OneElt) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:475:78: error: expected constructor, destructor, or type conversion before ';' token 475 | template ArrayRef(const T *data, size_t length) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:478:77: error: expected constructor, destructor, or type conversion before ';' token 478 | template ArrayRef(const T *data, const T *end) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:481:79: error: expected constructor, destructor, or type conversion before ';' token 481 | template ArrayRef(const SmallVectorImpl &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:485:56: error: expected constructor, destructor, or type conversion before ';' token 485 | ArrayRef(const SmallVector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:488:75: error: expected constructor, destructor, or type conversion before ';' token 488 | template ArrayRef(const std::vector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:492:55: error: expected constructor, destructor, or type conversion before ';' token 492 | ArrayRef(const std::array &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:495:72: error: expected constructor, destructor, or type conversion before ';' token 495 | template ArrayRef(const ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::EndsWith(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:77:10: error: 'Result' was not declared in this scope 77 | if (!Result && Str.endswith(S)) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:498:66: error: expected constructor, destructor, or type conversion before ';' token 498 | template ArrayRef(ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:501:77: error: expected constructor, destructor, or type conversion before ';' token 501 | template ArrayRef(const T (&Arr)[N]) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:580:70: error: expected constructor, destructor, or type conversion before ';' token 580 | template MutableArrayRef(T &OneElt) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:585:64: error: expected constructor, destructor, or type conversion before ';' token 585 | MutableArrayRef(T *data, size_t length) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:589:65: error: expected constructor, destructor, or type conversion before ';' token 589 | MutableArrayRef(SmallVectorImpl &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:592:64: error: expected constructor, destructor, or type conversion before ';' token 592 | MutableArrayRef(SmallVector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:595:80: error: expected constructor, destructor, or type conversion before ';' token 595 | template MutableArrayRef(std::vector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:599:63: error: expected constructor, destructor, or type conversion before ';' token 599 | MutableArrayRef(std::array &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:603:53: error: expected constructor, destructor, or type conversion before ';' token 603 | MutableArrayRef(T (&Arr)[N]) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::StartsWith(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:84:10: error: 'Result' was not declared in this scope 84 | if (!Result && Str.startswith(S)) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::CaseLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:143:10: error: 'Result' was not declared in this scope 143 | if (!Result && Str.equals_insensitive(S)) | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' 266 | struct CastIsPossible> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:41: error: template argument 2 is invalid 266 | struct CastIsPossible> { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:45: error: expected unqualified-id before '>' token 266 | struct CastIsPossible> { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::EndsWithLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:150:10: error: 'Result' was not declared in this scope 150 | if (!Result && Str.endswith_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' 369 | std::optional, From, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:27: error: wrong number of template arguments (1, should be 3) 369 | std::optional, From, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:310:8: note: provided for 'template struct llvm::DefaultDoCastIfPossible' 310 | struct DefaultDoCastIfPossible { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:370:65: error: expected '{' before '>' token 370 | detail::SelfType>> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' 540 | struct CastInfo> : public OptionalValueCast { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:35: error: template argument 2 is invalid 540 | struct CastInfo> : public OptionalValueCast { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:39: error: expected unqualified-id before '>' token 540 | struct CastInfo> : public OptionalValueCast { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::StartsWithLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:157:10: error: 'Result' was not declared in this scope 157 | if (!Result && Str.startswith_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:10: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:24: error: expected primary-expression before '>' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:26: error: expected primary-expression before '||' token 595 | std::is_pointer_v || std::is_constructible_v; | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:8: error: 'optional' in namespace 'std' does not name a template type 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:3: note: 'std::optional' is only available from C++17 onwards 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:34: error: 'is_constructible_v' is not a member of 'std'; did you mean 'is_constructible'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~~~~~~~ | is_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:54: error: expected primary-expression before ',' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' 610 | template struct ValueIsPresent> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:59: error: template argument 1 is invalid 610 | template struct ValueIsPresent> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:60: error: expected unqualified-id before '>' token 610 | template struct ValueIsPresent> { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'R llvm::StringSwitch::Default(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:183:9: error: 'Result' was not declared in this scope 183 | if (Result) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:288:42: error: return type 'struct llvm::MaybeAlign' is incomplete 288 | MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch::operator R()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:190:23: error: 'Result' was not declared in this scope 190 | return std::move(*Result); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:534:54: error: 'Alignment' has incomplete type 534 | inline Align getValueOrABITypeAlignment(MaybeAlign Alignment, | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::MutableArrayRef llvm::StructLayout::getMemberOffsets()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:33: error: missing template arguments before '(' token 647 | return llvm::MutableArrayRef(getTrailingObjects(), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::ArrayRef llvm::StructLayout::getMemberOffsets() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:652:26: error: missing template arguments before '(' token 652 | return llvm::ArrayRef(getTrailingObjects(), NumElements); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected template-name before '<' token 117 | struct MaybeAlign : public std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected '{' before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected unqualified-id before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:217:35: error: 'A' has incomplete type 217 | inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } | ~~~~~~~~~~~^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:50: error: return type 'struct llvm::MaybeAlign' is incomplete 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:19: error: ambiguating new declaration of 'void llvm::decodeMaybeAlign(unsigned int)' 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:53:28: note: old declaration 'llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)' 53 | friend struct MaybeAlign decodeMaybeAlign(unsigned Value); | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'void llvm::decodeMaybeAlign(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:222:23: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 222 | return MaybeAlign(); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:224:7: error: 'uint8_t llvm::Align::ShiftValue' is private within this context 224 | Out.ShiftValue = Value - 1; | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:41:11: note: declared private here 41 | uint8_t ShiftValue = 0; /// The log2 of the required alignment. | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'unsigned int llvm::encode(llvm::Align)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:230:61: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 230 | inline unsigned encode(Align A) { return encode(MaybeAlign(A)); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:295:35: error: 'Lhs' has incomplete type 295 | inline bool operator==(MaybeAlign Lhs, Align Rhs) { return Lhs && *Lhs == Rhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:296:35: error: 'Lhs' has incomplete type 296 | inline bool operator!=(MaybeAlign Lhs, Align Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:297:46: error: 'Rhs' has incomplete type 297 | inline bool operator==(Align Lhs, MaybeAlign Rhs) { return Rhs == Lhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:298:46: error: 'Rhs' has incomplete type 298 | inline bool operator!=(Align Lhs, MaybeAlign Rhs) { return !(Rhs == Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:35: error: 'Lhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:51: error: 'Rhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:35: error: 'Lhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:51: error: 'Rhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:45: error: 'std::nullopt_t' has not been declared 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:35: error: 'Lhs' has incomplete type 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:45: error: 'std::nullopt_t' has not been declared 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:35: error: 'Lhs' has incomplete type 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:13: error: declaration of 'operator==' as non-function 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:51: error: expected primary-expression before 'Rhs' 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:136:70: error: 'nullopt' is not a member of 'std' 136 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt) /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:13: error: declaration of 'operator!=' as non-function 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~ | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:51: error: expected primary-expression before 'Rhs' 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:28, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:23: error: 'std::optional' has not been declared 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:31: error: expected ',' or '...' before '<' token 62 | std::optional AddressSpace = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:18: error: default argument missing for parameter 9 of 'llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, const llvm::Twine&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, int)' 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:59:54: note: ...following parameter 6 which has a default argument 59 | Constant *Initializer, const Twine &Name = "", | ~~~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIAssignID::DIAssignID(llvm::LLVMContext&, llvm::Metadata::StorageType)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:307:49: error: 'nullopt' is not a member of 'std' 307 | : MDNode(C, DIAssignIDKind, Storage, std::nullopt) {} | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:46: error: 'std::optional' has not been declared 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:54: error: expected ',' or '...' before '<' token 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:44: error: 'std::optional' has not been declared 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:52: error: expected ',' or '...' before '<' token 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, long long unsigned int>, 4>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:289:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:152:48: error: return type 'struct llvm::MaybeAlign' is incomplete 152 | inline MaybeAlign getMaybeAlignValue() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'void llvm::ConstantInt::getMaybeAlignValue() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:153:37: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 153 | return MaybeAlign(getZExtValue()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'llvm::Align llvm::ConstantInt::getAlignValue() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:30: error: invalid use of 'void' 160 | return getMaybeAlignValue().valueOrOne(); | ~~~~~~~~~~~~~~~~~~^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: expected ';' before 'valueOrOne' 160 | return getMaybeAlignValue().valueOrOne(); | ^~~~~~~~~~ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: 'valueOrOne' was not declared in this scope 160 | return getMaybeAlignValue().valueOrOne(); | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:27: error: 'are_base_of' was not declared in this scope 455 | static std::enable_if_t::value, Constant *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:56: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 455 | static std::enable_if_t::value, Constant *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:64: error: expected ';' before ',' token 455 | static std::enable_if_t::value, Constant *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:15: error: 'optional' in namespace 'std' does not name a template type 520 | inline std::optional getSource() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:10: note: 'std::optional' is only available from C++17 onwards 520 | inline std::optional getSource() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:8: error: 'optional' in namespace 'std' does not name a template type 599 | std::optional> Checksum; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:3: note: 'std::optional' is only available from C++17 onwards 599 | std::optional> Checksum; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:15: error: 'std::optional' has not been declared 604 | std::optional> CS, MDString *Src, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:23: error: expected ',' or '...' before '<' token 604 | std::optional> CS, MDString *Src, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:31: error: 'std::optional' has not been declared 610 | std::optional> CS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:39: error: expected ',' or '...' before '<' token 610 | std::optional> CS, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:31: error: 'std::optional' has not been declared 623 | std::optional> CS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:39: error: expected ',' or '...' before '<' token 623 | std::optional> CS, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:8: error: 'optional' in namespace 'std' does not name a template type 648 | std::optional> getChecksum() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:3: note: 'std::optional' is only available from C++17 onwards 648 | std::optional> getChecksum() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:8: error: 'optional' in namespace 'std' does not name a template type 654 | std::optional getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:3: note: 'std::optional' is only available from C++17 onwards 654 | std::optional getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:8: error: 'optional' in namespace 'std' does not name a template type 661 | std::optional> getRawChecksum() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:3: note: 'std::optional' is only available from C++17 onwards 661 | std::optional> getRawChecksum() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:15: error: 'optional' in namespace 'std' does not name a template type 667 | static std::optional getChecksumKind(StringRef CSKindStr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:10: note: 'std::optional' is only available from C++17 onwards 667 | static std::optional getChecksumKind(StringRef CSKindStr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getImpl(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: error: 'optional' is not a member of 'std' 613 | std::optional> MDChecksum; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:42: error: expected primary-expression before '>' token 613 | std::optional> MDChecksum; | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:45: error: 'MDChecksum' was not declared in this scope 613 | std::optional> MDChecksum; | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:614:9: error: 'CS' was not declared in this scope 614 | if (CS) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:20: error: invalid use of member 'llvm::DIFile::Source' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:53: error: invalid use of member 'llvm::DIFile::Source' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:72: error: invalid use of member 'llvm::Metadata::Storage' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here 72 | unsigned char Storage : 7; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:619:20: error: 'ShouldCreate' was not declared in this scope 619 | ShouldCreate); | ^~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:8: error: 'optional' in namespace 'std' does not name a template type 866 | std::optional getCodeModel() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:3: note: 'std::optional' is only available from C++17 onwards 866 | std::optional getCodeModel() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleIdentifier(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIFile llvm::DIFile::cloneImpl() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:25: error: 'getChecksum' was not declared in this scope 629 | getChecksum(), getSource()); | ^~~~~~~~~~~ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: note: candidate expects 3 arguments, 1 provided 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setSourceFileName(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: note: candidate expects 3 arguments, 1 provided 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:40: error: 'getSource' was not declared in this scope; did you mean 'Source'? 629 | getChecksum(), getSource()); | ^~~~~~~~~ | Source In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setTargetTriple(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: note: candidate expects 3 arguments, 1 provided 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantDataArray::get(llvm::LLVMContext&, ArrayTy&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:701:52: error: missing template arguments before '(' token 701 | return ConstantDataArray::get(Context, ArrayRef(Elts)); | ^ /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleInlineAsm(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: note: candidate expects 3 arguments, 1 provided 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1058:70: error: 'nullopt' is not a member of 'std' 1058 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt); | ^~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::MutableArrayRef llvm::MDNode::Header::operands()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1030:29: error: missing template arguments before '(' token 1030 | return MutableArrayRef( | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::ArrayRef llvm::MDNode::Header::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1037:22: error: missing template arguments before '(' token 1037 | return ArrayRef(reinterpret_cast(this) - SmallSize, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:25: error: 'std::optional' has not been declared 1247 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:33: error: expected ',' or '...' before '<' token 1247 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:25: error: 'std::optional' has not been declared 1255 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:33: error: expected ',' or '...' before '<' token 1255 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:25: error: 'std::optional' has not been declared 1266 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:33: error: expected ',' or '...' before '<' token 1266 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)' 1247 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1246:25: note: ...following parameter 4 which has a default argument 1246 | bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)' 1255 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1254:63: note: ...following parameter 4 which has a default argument 1254 | getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)' 1266 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1265:25: note: ...following parameter 4 which has a default argument 1265 | bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:6: error: 'optional' in namespace 'std' does not name a template type 686 | std::optional DIScope::getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:1: note: 'std::optional' is only available from C++17 onwards 686 | std::optional DIScope::getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1250:24: error: missing template arguments before '(' token 1250 | Ty, C, ArrayRef((Value *const *)IdxList.data(), IdxList.size()), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:19: error: 'InRangeIndex' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' 73 | std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: error: 'negation' is not a member of 'std' 74 | std::negation, Any>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: note: 'std::negation' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:68: error: template argument 1 is invalid 74 | std::negation, Any>>, | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:26: error: 'std::negation' has not been declared 85 | std::negation>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:34: error: expected '>' before '<' token 85 | std::negation>>, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:86:67: error: 'value' in namespace '::' does not name a type 86 | std::is_copy_constructible>>::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:33: error: 'OnlyIfReducedTy' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1260:64: error: 'InRangeIndex' was not declared in this scope 1260 | return getGetElementPtr(Ty, C, cast(Idx), InBounds, InRangeIndex, | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:8: error: 'optional' in namespace 'std' does not name a template type 863 | std::optional getSignedness() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:3: note: 'std::optional' is only available from C++17 onwards 863 | std::optional getSignedness() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1261:29: error: 'OnlyIfReducedTy' was not declared in this scope 1261 | OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std' 68 | using EnableIfCallable = std::enable_if_t>::value>; | ^~ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/type_traits:2554:11: note: provided for 'template using enable_if_t = typename std::enable_if::type' 2554 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; | ^~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:15: error: 'llvm::detail::EnableIfCallable' has not been declared 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:31: error: expected ',' or '...' before '<' token 378 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:377:7: note: ...following parameter 2 which has a default argument 377 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:15: error: 'llvm::detail::EnableIfCallable' has not been declared 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:31: error: expected ',' or '...' before '<' token 404 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:403:7: note: ...following parameter 2 which has a default argument 403 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:327:45: error: 'nullopt' is not a member of 'std' 327 | return dropUnknownNonDebugMetadata(std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:330:48: error: missing template arguments before '(' token 330 | return dropUnknownNonDebugMetadata(ArrayRef(ID1)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:8: error: 'optional' in namespace 'std' does not name a template type 969 | std::optional DWARFAddressSpace; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:3: note: 'std::optional' is only available from C++17 onwards 969 | std::optional DWARFAddressSpace; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:22: error: 'std::optional' has not been declared 974 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:30: error: expected ',' or '...' before '<' token 974 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:16: error: 'std::optional' has not been declared 984 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:24: error: expected ',' or '...' before '<' token 984 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:16: error: 'std::optional' has not been declared 996 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:24: error: expected ',' or '...' before '<' token 996 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:8: error: 'optional' in namespace 'std' does not name a template type 1036 | std::optional getDWARFAddressSpace() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:3: note: 'std::optional' is only available from C++17 onwards 1036 | std::optional getDWARFAddressSpace() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIDerivedType::DIDerivedType(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:43: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 977 | AlignInBits, OffsetInBits, Flags, Ops), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:50: error: 'Ops' was not declared in this scope 977 | AlignInBits, OffsetInBits, Flags, Ops), | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:9: error: class 'llvm::DIDerivedType' does not have any field named 'DWARFAddressSpace' 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:27: error: 'DWARFAddressSpace' was not declared in this scope 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:8: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:3: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getImpl(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:20: error: 'DWARFAddressSpace' was not declared in this scope 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: invalid use of member 'llvm::DIType::Flags' in static member function 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:46: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~ | getExtraData In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:15: error: 'optional' in namespace 'std' does not name a template type 66 | inline std::optional getLevel(IDType ID) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:10: note: 'std::optional' is only available from C++17 onwards 66 | inline std::optional getLevel(IDType ID) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:15: error: 'optional' in namespace 'std' does not name a template type 74 | inline std::optional parseLevel(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:10: note: 'std::optional' is only available from C++17 onwards 74 | inline std::optional parseLevel(char C) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:57: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~~~ | getAnnotations /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:20: error: invalid use of member 'llvm::Metadata::Storage' in static member function 990 | Storage, ShouldCreate); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here 72 | unsigned char Storage : 7; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:29: error: 'ShouldCreate' was not declared in this scope 990 | Storage, ShouldCreate); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIDerivedType llvm::DIDerivedType::cloneImpl() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1004:9: error: 'getDWARFAddressSpace' was not declared in this scope 1004 | getDWARFAddressSpace(), getFlags(), getExtraData(), getAnnotations()); | ^~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:18: error: 'optional' in namespace 'std' does not name a template type 141 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:13: note: 'std::optional' is only available from C++17 onwards 141 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:26: error: expected ',' or '...' before '<' token 141 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' 234 | std::pair> getAllocSizeArgs() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:45: error: template argument 2 is invalid 234 | std::pair> getAllocSizeArgs() const; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:8: error: 'optional' in namespace 'std' does not name a template type 241 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:3: note: 'std::optional' is only available from C++17 onwards 241 | std::optional getVScaleRangeMax() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:8: error: 'optional' in namespace 'std' does not name a template type 103 | std::optional tryExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:3: note: 'std::optional' is only available from C++17 onwards 103 | std::optional tryExtValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:8: error: 'optional' in namespace 'std' does not name a template type 379 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:3: note: 'std::optional' is only available from C++17 onwards 379 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:8: error: 'optional' in namespace 'std' does not name a template type 382 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:3: note: 'std::optional' is only available from C++17 onwards 382 | std::optional getVScaleRangeMax() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:36: error: 'optional' in namespace 'std' does not name a template type 735 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:31: note: 'std::optional' is only available from C++17 onwards 735 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:44: error: expected ',' or '...' before '<' token 735 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:8: error: 'optional' in namespace 'std' does not name a template type 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:3: note: 'std::optional' is only available from C++17 onwards 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:44: error: 'optional' in namespace 'std' does not name a template type 1197 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:39: note: 'std::optional' is only available from C++17 onwards 1197 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:52: error: expected ',' or '...' before '<' token 1197 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:40: error: 'std::optional' has not been declared 1201 | std::optional MaxValue); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:48: error: expected ',' or '...' before '<' token 1201 | std::optional MaxValue); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1114:35: error: return type 'struct llvm::MaybeAlign' is incomplete 1114 | MaybeAlign getAlignment() const { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:136:70: error: 'nullopt' is not a member of 'std' 136 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt) | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'std::string llvm::toString(const llvm::APInt&, unsigned int, bool, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef)' 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: note: candidate expects 3 arguments, 1 provided 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:70: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^ /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1119:40: error: return type 'struct llvm::MaybeAlign' is incomplete 1119 | MaybeAlign getStackAlignment() const { | ^ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'size_t llvm::detail::join_items_size(Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:455:65: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 455 | return (0 + ... + join_one_item_size(std::forward(Items))); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getStackAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:75: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1126:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1126 | return getRawIntAttr(Attribute::Dereferenceable).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableOrNullBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1132:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1132 | return getRawIntAttr(Attribute::DereferenceableOrNull).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1172:45: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1172 | return addAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addStackAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1184:50: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1184 | return addStackAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:38: error: 'string_view' in namespace 'std' does not name a type 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:33: note: 'std::string_view' is only available from C++17 onwards 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In member function 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:22: error: request for member 'data' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:34: error: request for member 'length' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:16: error: 'optional' in namespace 'std' does not name a template type 459 | mutable std::optional HasColors; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:11: note: 'std::optional' is only available from C++17 onwards 459 | mutable std::optional HasColors; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIAssignID::DIAssignID(llvm::LLVMContext&, llvm::Metadata::StorageType)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:307:49: error: 'nullopt' is not a member of 'std' 307 | : MDNode(C, DIAssignIDKind, Storage, std::nullopt) {} | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:22: error: 'is_scalar_v' is not a member of 'std'; did you mean 'is_scalar'? 83 | static_assert(std::is_scalar_v, | ^~~~~~~~~~~ | is_scalar 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:37: error: expected primary-expression before '>' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:38: error: expected primary-expression before ',' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:8: error: 'optional' in namespace 'std' does not name a template type 219 | std::optional FirstByteOffset; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:3: note: 'std::optional' is only available from C++17 onwards 219 | std::optional FirstByteOffset; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:57: error: 'std::optional' has not been declared 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:65: error: expected ',' or '...' before '<' token 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In constructor 'llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:19: error: class 'llvm::FormattedBytes' does not have any field named 'FirstByteOffset' 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:35: error: 'O' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:67: error: 'NPL' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:23: error: 'BGS' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:35: error: 'U' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:45: error: 'A' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:19: error: 'std::optional' has not been declared 240 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:27: error: expected ',' or '...' before '<' token 240 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:32: error: 'IndentLevel' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:47: error: 'std::nullopt_t' has not been declared 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:53: error: 'optional' in namespace 'std' does not name a template type 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:48: note: 'std::optional' is only available from C++17 onwards 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:61: error: expected ',' or '...' before '<' token 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:45: error: 'FirstByteOffset' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In function 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:762:7: error: 'O' was not declared in this scope; did you mean 'OS'? 762 | if (O) | ^ | OS /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:765:16: error: 'nullopt' is not a member of 'std' 765 | OS << std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:62: error: 'NumPerLine' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:25: error: 'ByteGroupSize' was not declared in this scope 244 | ByteGroupSize, Upper, false); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 244 | ByteGroupSize, Upper, false); | ^~~~~ | toUpper /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:30: error: 'std::optional' has not been declared 249 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token 249 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes_with_ascii(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:32: error: 'IndentLevel' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:45: error: 'FirstByteOffset' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:62: error: 'NumPerLine' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h: In member function 'llvm::ArrayRef llvm::Type::subtypes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:355:20: error: missing template arguments before '(' token 355 | return ArrayRef(subtype_begin(), subtype_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:25: error: 'ByteGroupSize' was not declared in this scope 253 | ByteGroupSize, Upper, true); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 253 | ByteGroupSize, Upper, true); | ^~~~~ | toUpper In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::FunctionType::params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:131:20: error: missing template arguments before '(' token 131 | return ArrayRef(param_begin(), param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:27: error: 'are_base_of' was not declared in this scope 245 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 245 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:59: error: expected ';' before ',' token 245 | static std::enable_if_t::value, StructType *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:27: error: 'are_base_of' was not declared in this scope 262 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 262 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:59: error: expected ';' before ',' token 262 | static std::enable_if_t::value, StructType *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:267:3: error: redeclaration of 'template int llvm::StructType::value' 267 | } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:54: note: previous declaration 'template int llvm::StructType::value' 245 | static std::enable_if_t::value, StructType *> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:15: error: 'optional' in namespace 'std' does not name a template type 520 | inline std::optional getSource() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:10: note: 'std::optional' is only available from C++17 onwards 520 | inline std::optional getSource() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:8: error: 'optional' in namespace 'std' does not name a template type 599 | std::optional> Checksum; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:3: note: 'std::optional' is only available from C++17 onwards 599 | std::optional> Checksum; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:15: error: 'std::optional' has not been declared 604 | std::optional> CS, MDString *Src, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:23: error: expected ',' or '...' before '<' token 604 | std::optional> CS, MDString *Src, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:31: error: 'std::optional' has not been declared 610 | std::optional> CS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:39: error: expected ',' or '...' before '<' token 610 | std::optional> CS, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:31: error: 'std::optional' has not been declared 623 | std::optional> CS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:39: error: expected ',' or '...' before '<' token 623 | std::optional> CS, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:8: error: 'optional' in namespace 'std' does not name a template type 648 | std::optional> getChecksum() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:3: note: 'std::optional' is only available from C++17 onwards 648 | std::optional> getChecksum() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:8: error: 'optional' in namespace 'std' does not name a template type 654 | std::optional getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:3: note: 'std::optional' is only available from C++17 onwards 654 | std::optional getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:15: error: 'optional' in namespace 'std' does not name a template type 1383 | static std::optional getEmissionKind(StringRef Str); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:8: error: 'optional' in namespace 'std' does not name a template type 661 | std::optional> getRawChecksum() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:3: note: 'std::optional' is only available from C++17 onwards 661 | std::optional> getRawChecksum() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:10: note: 'std::optional' is only available from C++17 onwards 1383 | static std::optional getEmissionKind(StringRef Str); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:15: error: 'optional' in namespace 'std' does not name a template type 1385 | static std::optional getNameTableKind(StringRef Str); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:10: note: 'std::optional' is only available from C++17 onwards 1385 | static std::optional getNameTableKind(StringRef Str); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:15: error: 'optional' in namespace 'std' does not name a template type 667 | static std::optional getChecksumKind(StringRef CSKindStr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:10: note: 'std::optional' is only available from C++17 onwards 667 | static std::optional getChecksumKind(StringRef CSKindStr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getImpl(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: error: 'optional' is not a member of 'std' 613 | std::optional> MDChecksum; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:42: error: expected primary-expression before '>' token 613 | std::optional> MDChecksum; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:45: error: 'MDChecksum' was not declared in this scope 613 | std::optional> MDChecksum; | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:614:9: error: 'CS' was not declared in this scope 614 | if (CS) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:20: error: invalid use of member 'llvm::DIFile::Source' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:53: error: invalid use of member 'llvm::DIFile::Source' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:72: error: invalid use of member 'llvm::Metadata::Storage' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here 72 | unsigned char Storage : 7; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:619:20: error: 'ShouldCreate' was not declared in this scope 619 | ShouldCreate); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:8: error: 'optional' in namespace 'std' does not name a template type 1670 | std::optional getSource() const { return getScope()->getSource(); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:3: note: 'std::optional' is only available from C++17 onwards 1670 | std::optional getSource() const { return getScope()->getSource(); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:15: error: 'optional' in namespace 'std' does not name a template type 1737 | inline std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:10: note: 'std::optional' is only available from C++17 onwards 1737 | inline std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:15: error: 'optional' in namespace 'std' does not name a template type 1754 | inline std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:10: note: 'std::optional' is only available from C++17 onwards 1754 | inline std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:15: error: 'optional' in namespace 'std' does not name a template type 1813 | static std::optional encodeDiscriminator(unsigned BD, unsigned DF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:10: note: 'std::optional' is only available from C++17 onwards 1813 | static std::optional encodeDiscriminator(unsigned BD, unsigned DF, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:20: error: 'are_base_of' was not declared in this scope 305 | std::enable_if_t::value, void> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:44: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 305 | std::enable_if_t::value, void> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:52: error: expected ';' before ',' token 305 | std::enable_if_t::value, void> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:47: error: data member 'value' cannot be a member template 305 | std::enable_if_t::value, void> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::StructType::elements() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:320:20: error: missing template arguments before '(' token 320 | return ArrayRef(element_begin(), element_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIFile llvm::DIFile::cloneImpl() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:25: error: 'getChecksum' was not declared in this scope 629 | getChecksum(), getSource()); | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:40: error: 'getSource' was not declared in this scope; did you mean 'Source'? 629 | getChecksum(), getSource()); | ^~~~~~~~~ | Source In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:59: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:754:59: error: 'nullopt' is not a member of 'std' 754 | ArrayRef Types = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:755:60: error: 'nullopt' is not a member of 'std' 755 | ArrayRef Ints = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::type_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:765:20: error: missing template arguments before '(' token 765 | return ArrayRef(type_param_begin(), type_param_end()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::int_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:780:20: error: missing template arguments before '(' token 780 | return ArrayRef(IntParams, getNumIntParameters()); | ^ 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:17: error: 'std::enable_if_t' is not a type 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:28: error: expected ',' or '...' before '<' token 512 | std::enable_if_t> * = nullptr) | ^ 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:59: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:6: error: 'optional' in namespace 'std' does not name a template type 686 | std::optional DIScope::getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:1: note: 'std::optional' is only available from C++17 onwards 686 | std::optional DIScope::getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:17: error: 'std::enable_if_t' is not a type 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:28: error: expected ',' or '...' before '<' token 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:55: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:12: error: 'std::enable_if_t' is not a type 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:23: error: expected ',' or '...' before '<' token 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:537:12: error: 'template template llvm::Expected::Expected(llvm::Expected&&, int)' cannot be overloaded with 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 537 | explicit Expected( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:529:3: note: previous declaration 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 529 | Expected(Expected &&Other, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:28: error: 'optional' in namespace 'std' does not name a template type 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:23: note: 'std::optional' is only available from C++17 onwards 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:28: error: 'optional' in namespace 'std' does not name a template type 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:23: note: 'std::optional' is only available from C++17 onwards 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:8: error: 'optional' in namespace 'std' does not name a template type 863 | std::optional getSignedness() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:3: note: 'std::optional' is only available from C++17 onwards 863 | std::optional getSignedness() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:34: error: 'std::optional' has not been declared 1301 | FileError(const Twine &F, std::optional LineNum, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:42: error: expected ',' or '...' before '<' token 1301 | FileError(const Twine &F, std::optional LineNum, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:43: error: 'std::optional' has not been declared 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:51: error: expected ',' or '...' before '<' token 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:8: error: 'optional' in namespace 'std' does not name a template type 1321 | std::optional Line; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:3: note: 'std::optional' is only available from C++17 onwards 1321 | std::optional Line; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:6: error: 'optional' in namespace 'std' does not name a template type 2277 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:1: note: 'std::optional' is only available from C++17 onwards 2277 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:6: error: 'optional' in namespace 'std' does not name a template type 2296 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:1: note: 'std::optional' is only available from C++17 onwards 2296 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In member function 'virtual void llvm::FileError::log(llvm::raw_ostream&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1279:9: error: 'Line' was not declared in this scope 1279 | if (Line) | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In constructor 'llvm::FileError::FileError(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1305:21: error: 'E' was not declared in this scope 1305 | Err = std::move(E); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:5: error: 'Line' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:22: error: 'LineNum' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:8: error: 'optional' in namespace 'std' does not name a template type 642 | std::optional getAbsoluteSymbolRange() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:3: note: 'std::optional' is only available from C++17 onwards 642 | std::optional getAbsoluteSymbolRange() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In static member function 'static llvm::Error llvm::FileError::build(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1311:31: error: 'E' was not declared in this scope 1311 | handleAllErrors(std::move(E), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1317:53: error: 'Line' was not declared in this scope 1317 | std::unique_ptr(new FileError(F, Line, std::move(Payload)))); | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'uint64_t llvm::GlobalObject::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:16: error: variable 'llvm::MaybeAlign Align' has initializer but incomplete type 71 | MaybeAlign Align = getAlign(); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:33: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 71 | MaybeAlign Align = getAlign(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:79:31: error: return type 'struct llvm::MaybeAlign' is incomplete 79 | MaybeAlign getAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'void llvm::GlobalObject::getAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:82:12: error: 'decodeMaybeAlign' was not declared in this scope 82 | return decodeMaybeAlign(AlignmentData); | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:8: error: 'optional' in namespace 'std' does not name a template type 969 | std::optional DWARFAddressSpace; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:3: note: 'std::optional' is only available from C++17 onwards 969 | std::optional DWARFAddressSpace; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:22: error: 'std::optional' has not been declared 974 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:30: error: expected ',' or '...' before '<' token 974 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:16: error: 'std::optional' has not been declared 984 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:24: error: expected ',' or '...' before '<' token 984 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: error: 'optional' is not a member of 'std' 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:50: error: expected primary-expression before '>' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:52: error: expected primary-expression before ')' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:16: error: 'std::optional' has not been declared 996 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:24: error: expected ',' or '...' before '<' token 996 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, size_t, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: error: 'optional' is not a member of 'std' 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: note: 'std::optional' is only available from C++17 onwards In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:50: error: expected primary-expression before '>' token 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:8: error: 'optional' in namespace 'std' does not name a template type 1036 | std::optional getDWARFAddressSpace() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:3: note: 'std::optional' is only available from C++17 onwards 1036 | std::optional getDWARFAddressSpace() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIDerivedType::DIDerivedType(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:43: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 977 | AlignInBits, OffsetInBits, Flags, Ops), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:50: error: 'Ops' was not declared in this scope 977 | AlignInBits, OffsetInBits, Flags, Ops), | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:9: error: class 'llvm::DIDerivedType' does not have any field named 'DWARFAddressSpace' 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:27: error: 'DWARFAddressSpace' was not declared in this scope 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:8: error: 'optional' in namespace 'std' does not name a template type 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:3: note: 'std::optional' is only available from C++17 onwards 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:8: error: 'optional' in namespace 'std' does not name a template type 301 | std::optional getSectionPrefix() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:3: note: 'std::optional' is only available from C++17 onwards 301 | std::optional getSectionPrefix() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:8: error: 'optional' in namespace 'std' does not name a template type 2563 | std::optional getSizeInBits() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:3: note: 'std::optional' is only available from C++17 onwards 2563 | std::optional getSizeInBits() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:8: error: 'optional' in namespace 'std' does not name a template type 2567 | std::optional getSignedness() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:3: note: 'std::optional' is only available from C++17 onwards 2567 | std::optional getSignedness() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:8: error: 'optional' in namespace 'std' does not name a template type 2585 | std::optional getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:3: note: 'std::optional' is only available from C++17 onwards 2585 | std::optional getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getImpl(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:20: error: 'DWARFAddressSpace' was not declared in this scope 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: invalid use of member 'llvm::DIType::Flags' in static member function 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:8: error: 'optional' in namespace 'std' does not name a template type 2647 | std::optional isConstant() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:3: note: 'std::optional' is only available from C++17 onwards 2647 | std::optional isConstant() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:15: error: 'optional' in namespace 'std' does not name a template type 2779 | static std::optional getFragmentInfo(expr_op_iterator Start, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:10: note: 'std::optional' is only available from C++17 onwards 2779 | static std::optional getFragmentInfo(expr_op_iterator Start, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:8: error: 'optional' in namespace 'std' does not name a template type 2783 | std::optional getFragmentInfo() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:3: note: 'std::optional' is only available from C++17 onwards 2783 | std::optional getFragmentInfo() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:15: error: 'optional' in namespace 'std' does not name a template type 2820 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:10: note: 'std::optional' is only available from C++17 onwards 2820 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:15: error: 'optional' in namespace 'std' does not name a template type 2927 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:10: note: 'std::optional' is only available from C++17 onwards 2927 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:46: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~ | getExtraData /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIExpression::DIExpression(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2618:51: error: 'nullopt' is not a member of 'std' 2618 | : MDNode(C, DIExpressionKind, Storage, std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:57: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~~~ | getAnnotations /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:20: error: invalid use of member 'llvm::Metadata::Storage' in static member function 990 | Storage, ShouldCreate); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here 72 | unsigned char Storage : 7; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:29: error: 'ShouldCreate' was not declared in this scope 990 | Storage, ShouldCreate); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DIExpression::isFragment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2788:36: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'? 2788 | bool isFragment() const { return getFragmentInfo().has_value(); } | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'int llvm::DIExpression::fragmentCmp(const llvm::DIExpression*) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2965:23: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'? 2965 | auto Fragment1 = *getFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2966:30: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'? 2966 | auto Fragment2 = *Other->getFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIDerivedType llvm::DIDerivedType::cloneImpl() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1004:9: error: 'getDWARFAddressSpace' was not declared in this scope 1004 | getDWARFAddressSpace(), getFlags(), getExtraData(), getAnnotations()); | ^~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:705:39: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'bool llvm::Function::hasProfileData(bool) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:290:12: error: 'getEntryCount' was not declared in this scope; did you mean 'setEntryCount'? 290 | return getEntryCount(IncludeSynthetic).has_value(); | ^~~~~~~~~~~~~ | setEntryCount /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:425:38: error: return type 'struct llvm::MaybeAlign' is incomplete 425 | MaybeAlign getFnStackAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getFnStackAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:426:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 426 | return AttributeSets.getFnStackAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:440:50: error: return type 'struct llvm::MaybeAlign' is incomplete 440 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:441:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 441 | return AttributeSets.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:444:55: error: return type 'struct llvm::MaybeAlign' is incomplete 444 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:445:54: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 445 | return AttributeSets.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, 2>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:12: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 42 | std::is_integral_v, | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:55: error: expected '(' before '>' token 42 | std::is_integral_v, | ^ | ( /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:56: error: expected primary-expression before ',' token 42 | std::is_integral_v, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: In member function 'ValueT llvm::MapVector::lookup(const KeyT&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:24: error: 'is_copy_constructible_v' is not a member of 'std'; did you mean 'is_copy_constructible'? 112 | static_assert(std::is_copy_constructible_v, | ^~~~~~~~~~~~~~~~~~~~~~~ | is_copy_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:54: error: expected primary-expression before '>' token 112 | static_assert(std::is_copy_constructible_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:55: error: expected primary-expression before ',' token 112 | static_assert(std::is_copy_constructible_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h:107:1: warning: inline variables are only available with '-std=c++17' or '-std=gnu++17' 107 | inline constexpr force_iteration_on_noniterable_enum_t | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:43: error: template argument 1 is invalid 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h: In function 'decltype(auto) llvm::get(const llvm::StringMapEntry&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:155:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 155 | if constexpr (Index == 0) | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h: In member function 'void llvm::RepeatedPass::printPipeline(llvm::raw_ostream&, llvm::function_ref)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1342:21: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 1342 | OS << "repeat<" << Count << ">("; | ~~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | int | llvm::raw_ostream In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)' 190 | raw_ostream &operator<<(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)' 197 | raw_ostream &operator<<(unsigned char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)' 204 | raw_ostream &operator<<(signed char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)' 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)' 260 | raw_ostream &operator<<(unsigned long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)' 261 | raw_ostream &operator<<(long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)' 262 | raw_ostream &operator<<(unsigned long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)' 263 | raw_ostream &operator<<(long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)' 266 | raw_ostream &operator<<(unsigned int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)' 270 | raw_ostream &operator<<(int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)' 274 | raw_ostream &operator<<(double N); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)' 553 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)' 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3516:48: error: 'nullopt' is not a member of 'std' 3516 | ArrayRef Ops2 = std::nullopt) | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ [ 24%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_hash.c.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:8: error: 'optional' in namespace 'std' does not name a template type 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:3: note: 'std::optional' is only available from C++17 onwards 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:8: error: 'optional' in namespace 'std' does not name a template type 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:3: note: 'std::optional' is only available from C++17 onwards 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIArgList::DIArgList(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3679:48: error: 'nullopt' is not a member of 'std' 3679 | : MDNode(C, DIArgListKind, Storage, std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1743:34: error: return type 'struct llvm::MaybeAlign' is incomplete 1743 | MaybeAlign getRetAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getRetAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1744:44: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1744 | if (auto Align = Attrs.getRetAlignment()) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1747:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1747 | return F->getAttributes().getRetAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h: In member function 'llvm::BitVector::size_type llvm::BitVector::count() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:158:24: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 158 | NumBits += llvm::popcount(Bit); | ^~~~~~~~ | count In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1748:17: error: 'nullopt' is not a member of 'std' 1748 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1752:50: error: return type 'struct llvm::MaybeAlign' is incomplete 1752 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1753:41: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1753 | return Attrs.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1756:55: error: return type 'struct llvm::MaybeAlign' is incomplete 1756 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1757:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1757 | return Attrs.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:8: error: 'optional' in namespace 'std' does not name a template type 3729 | std::optional Fragment; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:3: note: 'std::optional' is only available from C++17 onwards 3729 | std::optional Fragment; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:22: error: 'std::optional' has not been declared 3740 | std::optional FragmentInfo, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:30: error: expected ',' or '...' before '<' token 3740 | std::optional FragmentInfo, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:8: error: 'optional' in namespace 'std' does not name a template type 3751 | std::optional getFragment() const { return Fragment; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:3: note: 'std::optional' is only available from C++17 onwards 3751 | std::optional getFragment() const { return Fragment; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:24: error: class 'llvm::DebugVariable' does not have any field named 'Fragment' 3742 | : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:45: error: expected primary-expression before ')' token 3742 | : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: warning: 'llvm::DebugVariable::InlinedAt' is initialized with itself [-Winit-self] 3739 | DebugVariable(const DILocalVariable *Var, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:9: error: class 'llvm::DebugVariable' does not have any field named 'Fragment' 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:35: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'? 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:60: error: 'nullopt' is not a member of 'std' 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::DebugVariable::FragmentInfo llvm::DebugVariable::getFragmentOrDefault() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3755:12: error: 'Fragment' was not declared in this scope 3755 | return Fragment.value_or(DefaultFragment); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator==(const llvm::DebugVariable&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3763:31: error: 'Fragment' was not declared in this scope 3763 | return std::tie(Variable, Fragment, InlinedAt) == | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3764:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'? 3764 | std::tie(Other.Variable, Other.Fragment, Other.InlinedAt); | ^~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator<(const llvm::DebugVariable&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3768:31: error: 'Fragment' was not declared in this scope 3768 | return std::tie(Variable, Fragment, InlinedAt) < | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3769:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'? 3769 | std::tie(Other.Variable, Other.Fragment, Other.InlinedAt); | ^~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo::getEmptyKey()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3778:40: error: 'nullopt' is not a member of 'std' 3778 | return DebugVariable(nullptr, std::nullopt, nullptr); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo::getTombstoneKey()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3783:52: error: no matching function for call to 'llvm::DebugVariable::DebugVariable(std::nullptr_t, , std::nullptr_t)' 3783 | return DebugVariable(nullptr, {{0, 0}}, nullptr); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)' 3744 | DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:65: note: no known conversion for argument 2 from '' to 'const llvm::DIExpression*' 3744 | DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)' 3739 | DebugVariable(const DILocalVariable *Var, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate expects 2 arguments, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DbgVariableIntrinsic*)' 3737 | DebugVariable(const DbgVariableIntrinsic *DII); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(const llvm::DebugVariable&)' 3725 | class DebugVariable { | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(llvm::DebugVariable&&)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::DebugVariable&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:16: error: 'optional' in namespace 'std' does not name a template type 3788 | const std::optional Fragment = D.getFragment(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:11: note: 'std::optional' is only available from C++17 onwards 3788 | const std::optional Fragment = D.getFragment(); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:15: error: 'optional' in namespace 'std' does not name a template type 1383 | static std::optional getEmissionKind(StringRef Str); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:10: note: 'std::optional' is only available from C++17 onwards 1383 | static std::optional getEmissionKind(StringRef Str); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:15: error: 'optional' in namespace 'std' does not name a template type 1385 | static std::optional getNameTableKind(StringRef Str); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:10: note: 'std::optional' is only available from C++17 onwards 1385 | static std::optional getNameTableKind(StringRef Str); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3789:9: error: 'Fragment' was not declared in this scope 3789 | if (Fragment) | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:10: error: 'optional' in namespace 'std' does not name a template type 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:5: note: 'std::optional' is only available from C++17 onwards 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:8: error: 'optional' in namespace 'std' does not name a template type 152 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:3: note: 'std::optional' is only available from C++17 onwards 152 | std::optional | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:6: error: 'optional' in namespace 'std' does not name a template type 49 | std::optional convertStrToRoundingMode(StringRef); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:1: note: 'std::optional' is only available from C++17 onwards 49 | std::optional convertStrToRoundingMode(StringRef); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:6: error: 'optional' in namespace 'std' does not name a template type 53 | std::optional convertRoundingModeToStr(RoundingMode); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:153:73: error: expected unqualified-id before ')' token 153 | get_threadpool_strategy(StringRef Num, ThreadPoolStrategy Default = {}); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:1: note: 'std::optional' is only available from C++17 onwards 53 | std::optional convertRoundingModeToStr(RoundingMode); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:6: error: 'optional' in namespace 'std' does not name a template type 57 | std::optional convertStrToExceptionBehavior(StringRef); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:1: note: 'std::optional' is only available from C++17 onwards 57 | std::optional convertStrToExceptionBehavior(StringRef); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:6: error: 'optional' in namespace 'std' does not name a template type 61 | std::optional convertExceptionBehaviorToStr(fp::ExceptionBehavior); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:1: note: 'std::optional' is only available from C++17 onwards 61 | std::optional convertExceptionBehaviorToStr(fp::ExceptionBehavior); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: In function 'llvm::ThreadPoolStrategy llvm::heavyweight_hardware_concurrency(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: error: 'optional' is not a member of 'std' 174 | std::optional S = | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:37: error: expected primary-expression before '>' token 174 | std::optional S = | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:8: error: 'optional' in namespace 'std' does not name a template type 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:3: note: 'std::optional' is only available from C++17 onwards 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:8: error: 'optional' in namespace 'std' does not name a template type 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:3: note: 'std::optional' is only available from C++17 onwards 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:39: error: 'S' was not declared in this scope 174 | std::optional S = | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:33, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:77:53: error: 'nullopt' is not a member of 'std' 77 | ArrayRef Tys = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:93:56: error: 'nullopt' is not a member of 'std' 93 | ArrayRef Tys = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:8: error: 'optional' in namespace 'std' does not name a template type 247 | std::optional remangleIntrinsicFunction(Function *F); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:3: note: 'std::optional' is only available from C++17 onwards 247 | std::optional remangleIntrinsicFunction(Function *F); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:175:9: error: 'get_threadpool_strategy' was not declared in this scope; did you mean 'ThreadPoolStrategy'? 175 | get_threadpool_strategy(Num, heavyweight_hardware_concurrency()); | ^~~~~~~~~~~~~~~~~~~~~~~ | ThreadPoolStrategy In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:8: error: 'optional' in namespace 'std' does not name a template type 317 | std::optional getFragmentSizeInBits() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:3: note: 'std::optional' is only available from C++17 onwards 317 | std::optional getFragmentSizeInBits() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:8: error: 'optional' in namespace 'std' does not name a template type 320 | std::optional getFragment() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:3: note: 'std::optional' is only available from C++17 onwards 320 | std::optional getFragment() const { | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:6: error: 'optional' in namespace 'std' does not name a template type 526 | std::optional findMetadataOperand(llvm::MDNode *LoopMD, | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:1: note: 'std::optional' is only available from C++17 onwards 526 | std::optional findMetadataOperand(llvm::MDNode *LoopMD, | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:6: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getOptionalIntLoopAttribute(llvm::MDNode *LoopID, | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:1: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getOptionalIntLoopAttribute(llvm::MDNode *LoopID, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:8: error: 'optional' in namespace 'std' does not name a template type 1670 | std::optional getSource() const { return getScope()->getSource(); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:3: note: 'std::optional' is only available from C++17 onwards 1670 | std::optional getSource() const { return getScope()->getSource(); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:15: error: 'optional' in namespace 'std' does not name a template type 1737 | inline std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:10: note: 'std::optional' is only available from C++17 onwards 1737 | inline std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:15: error: 'optional' in namespace 'std' does not name a template type 1754 | inline std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:10: note: 'std::optional' is only available from C++17 onwards 1754 | inline std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:15: error: 'optional' in namespace 'std' does not name a template type 1813 | static std::optional encodeDiscriminator(unsigned BD, unsigned DF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:10: note: 'std::optional' is only available from C++17 onwards 1813 | static std::optional encodeDiscriminator(unsigned BD, unsigned DF, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:43, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:15: error: 'optional' in namespace 'std' does not name a template type 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:10: note: 'std::optional' is only available from C++17 onwards 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:15: error: 'optional' in namespace 'std' does not name a template type 258 | static std::optional getForDest(const CallBase *CI, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:10: note: 'std::optional' is only available from C++17 onwards 258 | static std::optional getForDest(const CallBase *CI, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h: In static member function 'static llvm::MemoryLocation llvm::MemoryLocation::get(const llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:244:29: error: 'getOrNone' is not a member of 'llvm::MemoryLocation' 244 | return *MemoryLocation::getOrNone(Inst); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:15: error: 'optional' in namespace 'std' does not name a template type 492 | static std::optional getMaskParamPos(Intrinsic::ID IntrinsicID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:10: note: 'std::optional' is only available from C++17 onwards 492 | static std::optional getMaskParamPos(Intrinsic::ID IntrinsicID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:15: error: 'optional' in namespace 'std' does not name a template type 493 | static std::optional getVectorLengthParamPos( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:10: note: 'std::optional' is only available from C++17 onwards 493 | static std::optional getVectorLengthParamPos( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:15: error: 'optional' in namespace 'std' does not name a template type 524 | static std::optional getMemoryPointerParamPos(Intrinsic::ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:10: note: 'std::optional' is only available from C++17 onwards 524 | static std::optional getMemoryPointerParamPos(Intrinsic::ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:15: error: 'optional' in namespace 'std' does not name a template type 528 | static std::optional getMemoryDataParamPos(Intrinsic::ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:10: note: 'std::optional' is only available from C++17 onwards 528 | static std::optional getMemoryDataParamPos(Intrinsic::ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:8: error: 'optional' in namespace 'std' does not name a template type 539 | std::optional getFunctionalOpcode() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:3: note: 'std::optional' is only available from C++17 onwards 539 | std::optional getFunctionalOpcode() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:15: error: 'optional' in namespace 'std' does not name a template type 544 | static std::optional getFunctionalOpcodeForVP(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:10: note: 'std::optional' is only available from C++17 onwards 544 | static std::optional getFunctionalOpcodeForVP(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:15: error: 'optional' in namespace 'std' does not name a template type 555 | static std::optional getStartParamPos(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:10: note: 'std::optional' is only available from C++17 onwards 555 | static std::optional getStartParamPos(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:15: error: 'optional' in namespace 'std' does not name a template type 556 | static std::optional getVectorParamPos(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:10: note: 'std::optional' is only available from C++17 onwards 556 | static std::optional getVectorParamPos(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:8: error: 'optional' in namespace 'std' does not name a template type 606 | std::optional getRoundingMode() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:3: note: 'std::optional' is only available from C++17 onwards 606 | std::optional getRoundingMode() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:8: error: 'optional' in namespace 'std' does not name a template type 607 | std::optional getExceptionBehavior() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:3: note: 'std::optional' is only available from C++17 onwards 607 | std::optional getExceptionBehavior() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:847:35: error: return type 'struct llvm::MaybeAlign' is incomplete 847 | MaybeAlign getDestAlign() const { return getParamAlign(ARG_DEST); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:856:36: error: 'Alignment' has incomplete type 856 | void setDestAlignment(MaybeAlign Alignment) { | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:164:41: required from here from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:909:37: error: return type 'struct llvm::MaybeAlign' is incomplete 909 | MaybeAlign getSourceAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:919:38: error: 'Alignment' has incomplete type 919 | void setSourceAlignment(MaybeAlign Alignment) { | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:13: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/hash.h:15, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:11: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c: In function 'isl_hash_mem': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:26:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 26 | for (i = 0; i < len; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c: In function 'isl_hash_table_find': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:183:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 183 | if (4 * table->n >= 3 * size) { | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/hash.h:15, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c: In function 'isl_hash_table_remove': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:225:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 225 | isl_assert(ctx, h >= 0 && h < size, return); | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4' 148 | if (test) \ | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:225:2: note: in expansion of macro 'isl_assert' 225 | isl_assert(ctx, h >= 0 && h < size, return); | ^~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:231:14: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 231 | if (offset <= h2 - (h+1)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::AAQueryInfo::CacheEntry, 8>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:259:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1541:69: error: 'nullopt' is not a member of 'std' 1541 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1581:69: error: 'nullopt' is not a member of 'std' 1581 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1642:58: error: 'nullopt' is not a member of 'std' 1642 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1647:58: error: 'nullopt' is not a member of 'std' 1647 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In constructor 'llvm::CallInst::CallInst(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1496:39: error: 'nullopt' is not a member of 'std' 1496 | : CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore) {} | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1537:39: error: 'nullopt' is not a member of 'std' 1537 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1560:39: error: 'nullopt' is not a member of 'std' 1560 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertAtEnd); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:39: error: 'optional' in namespace 'std' does not name a template type 498 | const std::optional &OptLoc) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:34: note: 'std::optional' is only available from C++17 onwards 498 | const std::optional &OptLoc) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:47: error: expected ',' or '...' before '<' token 498 | const std::optional &OptLoc) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:39: error: 'optional' in namespace 'std' does not name a template type 592 | const std::optional &OptLoc, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:34: note: 'std::optional' is only available from C++17 onwards 592 | const std::optional &OptLoc, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:47: error: expected ',' or '...' before '<' token 592 | const std::optional &OptLoc, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:591:14: error: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' cannot be overloaded with 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 591 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: previous declaration 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 497 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:6: error: 'optional' in namespace 'std' does not name a template type 2277 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:1: note: 'std::optional' is only available from C++17 onwards 2277 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:6: error: 'optional' in namespace 'std' does not name a template type 2296 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:1: note: 'std::optional' is only available from C++17 onwards 2296 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:500:29: error: 'OptLoc' was not declared in this scope 500 | return getModRefInfo(I, OptLoc, AAQIP); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:506:52: error: no matching function for call to 'llvm::AAResults::getModRefInfo(const llvm::Instruction*&, llvm::MemoryLocation)' 506 | return getModRefInfo(I, MemoryLocation(P, Size)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 497 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:28: note: no known conversion for argument 2 from 'llvm::MemoryLocation' to 'int' 498 | const std::optional &OptLoc) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)' 504 | ModRefInfo getModRefInfo(const Instruction *I, const Value *P, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*)' 511 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:66: note: no known conversion for argument 2 from 'llvm::MemoryLocation' to 'const llvm::CallBase*' 511 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call); | ~~~~~~~~~~~~~~~~^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*, llvm::AAQueryInfo&)' 569 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call2, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 571 | ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::CallBase*, llvm::AAQueryInfo&)' 573 | ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::VAArgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 575 | ModRefInfo getModRefInfo(const VAArgInst *V, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::LoadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 577 | ModRefInfo getModRefInfo(const LoadInst *L, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::StoreInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 579 | ModRefInfo getModRefInfo(const StoreInst *S, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::FenceInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 581 | ModRefInfo getModRefInfo(const FenceInst *S, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicCmpXchgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 583 | ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicRMWInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 585 | ModRefInfo getModRefInfo(const AtomicRMWInst *RMW, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchPadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 587 | ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchReturnInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 589 | ModRefInfo getModRefInfo(const CatchReturnInst *I, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:39: error: 'optional' in namespace 'std' does not name a template type 641 | const std::optional &OptLoc) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:34: note: 'std::optional' is only available from C++17 onwards 641 | const std::optional &OptLoc) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:47: error: expected ',' or '...' before '<' token 641 | const std::optional &OptLoc) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::BatchAAResults::getModRefInfo(const llvm::Instruction*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:642:32: error: 'OptLoc' was not declared in this scope 642 | return AA.getModRefInfo(I, OptLoc, AAQI); | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:8: error: 'shared_mutex' in namespace 'std' does not name a type 96 | std::shared_mutex impl; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:3: note: 'std::shared_mutex' is only available from C++17 onwards 96 | std::shared_mutex impl; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:106:7: error: 'impl' was not declared in this scope 106 | impl.lock_shared(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:118:7: error: 'impl' was not declared in this scope 118 | impl.unlock_shared(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:131:7: error: 'impl' was not declared in this scope 131 | impl.lock(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:144:7: error: 'impl' was not declared in this scope 144 | impl.unlock(); | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:8: error: 'optional' in namespace 'std' does not name a template type 232 | std::optional identifyObject(const void *Ptr) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:3: note: 'std::optional' is only available from C++17 onwards 232 | std::optional identifyObject(const void *Ptr) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:8: error: 'optional' in namespace 'std' does not name a template type 2563 | std::optional getSizeInBits() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:3: note: 'std::optional' is only available from C++17 onwards 2563 | std::optional getSizeInBits() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:8: error: 'optional' in namespace 'std' does not name a template type 2567 | std::optional getSignedness() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:3: note: 'std::optional' is only available from C++17 onwards 2567 | std::optional getSignedness() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:8: error: 'optional' in namespace 'std' does not name a template type 2585 | std::optional getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:3: note: 'std::optional' is only available from C++17 onwards 2585 | std::optional getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:8: error: 'optional' in namespace 'std' does not name a template type 3627 | std::optional> Weights; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:3: note: 'std::optional' is only available from C++17 onwards 3627 | std::optional> Weights; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:30: error: 'optional' in namespace 'std' does not name a template type 3636 | using CaseWeightOpt = std::optional; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:25: note: 'std::optional' is only available from C++17 onwards 3636 | using CaseWeightOpt = std::optional; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3654:54: error: 'CaseWeightOpt' has not been declared 3654 | void addCase(ConstantInt *OnVal, BasicBlock *Dest, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3660:41: error: 'CaseWeightOpt' has not been declared 3660 | void setSuccessorWeight(unsigned idx, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:8: error: 'optional' in namespace 'std' does not name a template type 2647 | std::optional isConstant() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:3: note: 'std::optional' is only available from C++17 onwards 2647 | std::optional isConstant() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:15: error: 'optional' in namespace 'std' does not name a template type 2779 | static std::optional getFragmentInfo(expr_op_iterator Start, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:10: note: 'std::optional' is only available from C++17 onwards 2779 | static std::optional getFragmentInfo(expr_op_iterator Start, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:8: error: 'optional' in namespace 'std' does not name a template type 2783 | std::optional getFragmentInfo() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:3: note: 'std::optional' is only available from C++17 onwards 2783 | std::optional getFragmentInfo() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:15: error: 'optional' in namespace 'std' does not name a template type 2820 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:10: note: 'std::optional' is only available from C++17 onwards 2820 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:15: error: 'optional' in namespace 'std' does not name a template type 2927 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:10: note: 'std::optional' is only available from C++17 onwards 2927 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIExpression::DIExpression(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2618:51: error: 'nullopt' is not a member of 'std' 2618 | : MDNode(C, DIExpressionKind, Storage, std::nullopt), | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:40, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' 100 | using StackElement = std::pair>; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:57: error: template argument 2 is invalid 100 | using StackElement = std::pair>; | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3661:3: error: 'CaseWeightOpt' does not name a type 3661 | CaseWeightOpt getSuccessorWeight(unsigned idx); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3663:10: error: 'CaseWeightOpt' does not name a type 3663 | static CaseWeightOpt getSuccessorWeight(const SwitchInst &SI, unsigned idx); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:15: error: 'StackElement' was not declared in this scope 103 | std::vector VisitStack; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 1 is invalid 103 | std::vector VisitStack; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 2 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:16: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:50: error: 'nullopt' is not a member of 'std' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef, SetType&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:18: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: In member function 'int64_t llvm::BumpPtrAllocatorImpl::identifyKnownObject(const void*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: error: 'optional' is not a member of 'std' 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:26: error: expected primary-expression before '>' token 259 | std::optional Out = identifyObject(Ptr); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:52: error: 'nullopt' is not a member of 'std' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'void llvm::df_iterator::toNext()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:125:33: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 125 | NodeRef Node = VisitStack.back().first; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: error: 'optional' is not a member of 'std' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:30: error: expected primary-expression before '>' token 126 | std::optional &Opt = VisitStack.back().second; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:28: error: 'Out' was not declared in this scope 259 | std::optional Out = identifyObject(Ptr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: error: there are no arguments to 'identifyObject' that depend on a template parameter, so a declaration of 'identifyObject' must be available [-fpermissive] 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:33: error: 'Opt' was not declared in this scope 126 | std::optional &Opt = VisitStack.back().second; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:50: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:22: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:56: error: 'nullopt' is not a member of 'std' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:146:18: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 146 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:147:26: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 147 | } while (!VisitStack.empty()); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'const NodeRef& llvm::df_iterator::operator*() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:168:56: error: request for member 'back' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 168 | const NodeRef &operator*() const { return VisitStack.back().first; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator& llvm::df_iterator::skipChildren()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:186:16: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 186 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:187:21: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 187 | if (!VisitStack.empty()) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'unsigned int llvm::df_iterator::getPathLength() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:208:54: error: request for member 'size' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 208 | unsigned getPathLength() const { return VisitStack.size(); } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator::NodeRef llvm::df_iterator::getPath(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:212:56: error: invalid types 'const int[unsigned int]' for array subscript 212 | NodeRef getPath(unsigned n) const { return VisitStack[n].first; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3870:71: error: 'nullopt' is not a member of 'std' 3870 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3914:71: error: 'nullopt' is not a member of 'std' 3914 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3864:64: error: 'nullopt' is not a member of 'std' 3864 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3887:64: error: 'nullopt' is not a member of 'std' 3887 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionCallee, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3909:43: error: 'nullopt' is not a member of 'std' 3909 | IfException, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DIExpression::isFragment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2788:36: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'? 2788 | bool isFragment() const { return getFragmentInfo().has_value(); } | ^~~~~~~~~~~~~~~ | FragmentInfo [ 24%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_id.c.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'int llvm::DIExpression::fragmentCmp(const llvm::DIExpression*) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2965:23: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'? 2965 | auto Fragment1 = *getFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2966:30: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'? 2966 | auto Fragment2 = *Other->getFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:17: error: 'optional' in namespace 'std' does not name a template type 668 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:12: note: 'std::optional' is only available from C++17 onwards 668 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4077:52: error: 'nullopt' is not a member of 'std' 4077 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4125:71: error: 'nullopt' is not a member of 'std' 4125 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:8: error: 'optional' in namespace 'std' does not name a template type 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:3: note: 'std::optional' is only available from C++17 onwards 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4070:69: error: 'nullopt' is not a member of 'std' 4070 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4095:69: error: 'nullopt' is not a member of 'std' 4095 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:6: error: 'optional' in namespace 'std' does not name a template type 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:1: note: 'std::optional' is only available from C++17 onwards 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:6: error: 'optional' in namespace 'std' does not name a template type 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:1: note: 'std::optional' is only available from C++17 onwards 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:6: error: 'optional' in namespace 'std' does not name a template type 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:1: note: 'std::optional' is only available from C++17 onwards 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Dominators.h:36, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h: In static member function 'static llvm::DomTreeBuilder::SemiNCAInfo::RootsT llvm::DomTreeBuilder::SemiNCAInfo::FindRoots(const DomTreeT&, llvm::DomTreeBuilder::SemiNCAInfo::BatchUpdatePtr)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: error: 'optional' is not a member of 'std' 407 | std::optional SuccOrder; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:33: error: expected primary-expression before '>' token 407 | std::optional SuccOrder; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:35: error: 'SuccOrder' was not declared in this scope 407 | std::optional SuccOrder; | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4506:63: error: 'nullopt' is not a member of 'std' 4506 | ArrayRef Args = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:13: error: 'optional' in namespace 'std' does not name a template type 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:8: note: 'std::optional' is only available from C++17 onwards 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:44, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::ArrayRef() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:138:19: error: 'nullopt' is not a member of 'std' 138 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::MutableArrayRef()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:147:19: error: 'nullopt' is not a member of 'std' 147 | return std::nullopt; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:8: error: 'optional' in namespace 'std' does not name a template type 1506 | std::optional tryZExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:3: note: 'std::optional' is only available from C++17 onwards 1506 | std::optional tryZExtValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:8: error: 'optional' in namespace 'std' does not name a template type 1528 | std::optional trySExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:3: note: 'std::optional' is only available from C++17 onwards 1528 | std::optional trySExtValue() const { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasSetTracker.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:15: error: 'optional' in namespace 'std' does not name a template type 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:10: note: 'std::optional' is only available from C++17 onwards 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:15: error: 'optional' in namespace 'std' does not name a template type 258 | static std::optional getForDest(const CallBase *CI, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:10: note: 'std::optional' is only available from C++17 onwards 258 | static std::optional getForDest(const CallBase *CI, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h: In static member function 'static llvm::MemoryLocation llvm::MemoryLocation::get(const llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:244:29: error: 'getOrNone' is not a member of 'llvm::MemoryLocation' 244 | return *MemoryLocation::getOrNone(Inst); | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:11: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: In member function 'unsigned int llvm::APInt::countPopulation() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1621:20: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 1621 | return llvm::popcount(U.VAL); | ^~~~~~~~ | count In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:11: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:6: error: 'optional' in namespace 'std' does not name a template type 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:1: note: 'std::optional' is only available from C++17 onwards 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:6: error: 'optional' in namespace 'std' does not name a template type 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:1: note: 'std::optional' is only available from C++17 onwards 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:127:14: error: field 'StackNaturalAlign' has incomplete type 'llvm::MaybeAlign' 127 | MaybeAlign StackNaturalAlign; | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:131:14: error: field 'FunctionPtrAlign' has incomplete type 'llvm::MaybeAlign' 131 | MaybeAlign FunctionPtrAlign; | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3516:48: error: 'nullopt' is not a member of 'std' 3516 | ArrayRef Ops2 = std::nullopt) | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:17: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_id_list_grow': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (list->ref == 1 && list->n + n <= list->size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 115 | if (list->n + n <= list->size && list->size < new_size) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_id_list_drop': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 165 | if (first + n > list->n || first + n < first) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 173 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 175 | for (i = first; i + n < list->n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_id_list_insert': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 207 | if (pos > list->n) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 211 | if (list->ref == 1 && list->size > list->n) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 212 | for (i = list->n; i > pos; --i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 220 | for (i = 0; i < pos; ++i) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:32, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:8: error: 'optional' in namespace 'std' does not name a template type 337 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:3: note: 'std::optional' is only available from C++17 onwards 337 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:8: error: 'optional' in namespace 'std' does not name a template type 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:3: note: 'std::optional' is only available from C++17 onwards 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_id_list_concat': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 647 | if (list1->ref == 1 && list1->n + list2->n <= list1->size) | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:37, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:8: error: 'optional' in namespace 'std' does not name a template type 93 | std::optional MDMap; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:3: note: 'std::optional' is only available from C++17 onwards 93 | std::optional MDMap; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:8: error: 'optional' in namespace 'std' does not name a template type 119 | std::optional &getMDMap() { return MDMap; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:3: note: 'std::optional' is only available from C++17 onwards 119 | std::optional &getMDMap() { return MDMap; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:8: error: 'optional' in namespace 'std' does not name a template type 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:3: note: 'std::optional' is only available from C++17 onwards 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'bool llvm::ValueMap::hasMD() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:113:36: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 113 | bool hasMD() const { return bool(MDMap); } | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'llvm::ValueMap::MDMapT& llvm::ValueMap::MD()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:115:10: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 115 | if (!MDMap) | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:117:13: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 117 | return *MDMap; | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'void llvm::ValueMap::clear()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:147:5: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 147 | MDMap.reset(); | ^~~~~ | MDMapT In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:8: error: 'optional' in namespace 'std' does not name a template type 546 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:3: note: 'std::optional' is only available from C++17 onwards 546 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:8: error: 'optional' in namespace 'std' does not name a template type 624 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:3: note: 'std::optional' is only available from C++17 onwards 624 | std::optional>> | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:8: error: 'optional' in namespace 'std' does not name a template type 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:3: note: 'std::optional' is only available from C++17 onwards 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:8: error: 'optional' in namespace 'std' does not name a template type 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:3: note: 'std::optional' is only available from C++17 onwards 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:8: error: 'optional' in namespace 'std' does not name a template type 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:3: note: 'std::optional' is only available from C++17 onwards 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:8: error: 'optional' in namespace 'std' does not name a template type 1173 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:3: note: 'std::optional' is only available from C++17 onwards 1173 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:8: error: 'optional' in namespace 'std' does not name a template type 1183 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:3: note: 'std::optional' is only available from C++17 onwards 1183 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:8: error: 'optional' in namespace 'std' does not name a template type 1190 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:3: note: 'std::optional' is only available from C++17 onwards 1190 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:8: error: 'optional' in namespace 'std' does not name a template type 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:3: note: 'std::optional' is only available from C++17 onwards 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c: In function 'isl_stream_read_id': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:262:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | isl_stream_error(s, NULL, "unexpected EOF"); | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIArgList::DIArgList(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3679:48: error: 'nullopt' is not a member of 'std' 3679 | : MDNode(C, DIArgListKind, Storage, std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:288:42: error: return type 'struct llvm::MaybeAlign' is incomplete 288 | MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; } | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:12: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *' 61 | char *msg); | ~~~~~~^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:70:8: error: 'optional' in namespace 'std' does not name a template type 70 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:70:3: note: 'std::optional' is only available from C++17 onwards 70 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:76:8: error: 'optional' in namespace 'std' does not name a template type 76 | std::optional getProfileCountFromFreq(uint64_t Freq) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:76:3: note: 'std::optional' is only available from C++17 onwards 76 | std::optional getProfileCountFromFreq(uint64_t Freq) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:534:54: error: 'Alignment' has incomplete type 534 | inline Align getValueOrABITypeAlignment(MaybeAlign Alignment, | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:16: error: 'std::optional' has not been declared 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:24: error: expected ',' or '...' before '<' token 100 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:25: error: 'std::optional' has not been declared 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:33: error: expected ',' or '...' before '<' token 114 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:20: error: 'std::optional' has not been declared 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:28: error: expected ',' or '...' before '<' token 128 | std::optional Alignment = std::nullopt); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::MutableArrayRef llvm::StructLayout::getMemberOffsets()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:33: error: missing template arguments before '(' token 647 | return llvm::MutableArrayRef(getTrailingObjects(), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::ArrayRef llvm::StructLayout::getMemberOffsets() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:652:26: error: missing template arguments before '(' token 652 | return llvm::ArrayRef(getTrailingObjects(), NumElements); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:23: error: 'std::optional' has not been declared 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:31: error: expected ',' or '...' before '<' token 152 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:21: error: 'std::optional' has not been declared 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:29: error: expected ',' or '...' before '<' token 158 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:11: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFile(const llvm::Twine&, bool, bool, bool, int)' 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:98:39: note: ...following parameter 2 which has a default argument 98 | getFile(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:20: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFileSlice(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, int64_t, bool, int)' 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:113:41: note: ...following parameter 5 which has a default argument 113 | int64_t Offset, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:15: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFile(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, bool, bool, int)' 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:127:20: note: ...following parameter 4 which has a default argument 127 | bool RequiresNullTerminator = true, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:18: error: default argument missing for parameter 4 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileOrSTDIN(const llvm::Twine&, bool, bool, int)' 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:150:46: note: ...following parameter 2 which has a default argument 150 | getFileOrSTDIN(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:157:21: note: ...following parameter 4 which has a default argument 157 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:16: error: 'std::optional' has not been declared 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:24: error: expected ',' or '...' before '<' token 204 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:21: error: 'std::optional' has not been declared 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:29: error: expected ',' or '...' before '<' token 210 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:30: error: 'std::optional' has not been declared 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:38: error: expected ',' or '...' before '<' token 220 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:11: error: default argument missing for parameter 3 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFile(const llvm::Twine&, bool, int)' 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:203:39: note: ...following parameter 2 which has a default argument 203 | getFile(const Twine &Filename, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:209:21: note: ...following parameter 4 which has a default argument 209 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:25: error: default argument missing for parameter 3 of 'static std::unique_ptr llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t, const llvm::Twine&, int)' 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:219:51: note: ...following parameter 2 which has a default argument 219 | getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "", | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:10: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 53 | SMRange(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:11: error: invalid use of '::' 53 | SMRange(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:28: error: expected ';' at end of member declaration 53 | SMRange(std::nullopt_t) {} | ^ | ; In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:157, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:307: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_multi_id_check_range': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare] 15 | if (first + n > dim || first + n < first) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:307: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_id_get_at': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:163:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 163 | isl_ctx *ctx; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_id_drop_dims': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:506:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 506 | for (i = 0; i < n; ++i) | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:508:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 508 | for (i = first; i + n < multi->n; ++i) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:8: error: 'optional' in namespace 'std' does not name a template type 3729 | std::optional Fragment; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:3: note: 'std::optional' is only available from C++17 onwards 3729 | std::optional Fragment; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:22: error: 'std::optional' has not been declared 3740 | std::optional FragmentInfo, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:30: error: expected ',' or '...' before '<' token 3740 | std::optional FragmentInfo, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:8: error: 'optional' in namespace 'std' does not name a template type 3751 | std::optional getFragment() const { return Fragment; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:3: note: 'std::optional' is only available from C++17 onwards 3751 | std::optional getFragment() const { return Fragment; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:24: error: class 'llvm::DebugVariable' does not have any field named 'Fragment' 3742 | : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:45: error: expected primary-expression before ')' token 3742 | : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: warning: 'llvm::DebugVariable::InlinedAt' is initialized with itself [-Winit-self] 3739 | DebugVariable(const DILocalVariable *Var, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:9: error: class 'llvm::DebugVariable' does not have any field named 'Fragment' 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:35: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'? 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~~~~~~~~~ | FragmentInfo In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:28, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:23: error: 'std::optional' has not been declared 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:31: error: expected ',' or '...' before '<' token 62 | std::optional AddressSpace = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:60: error: 'nullopt' is not a member of 'std' 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:18: error: default argument missing for parameter 9 of 'llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, const llvm::Twine&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, int)' 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:59:54: note: ...following parameter 6 which has a default argument 59 | Constant *Initializer, const Twine &Name = "", | ~~~~~~~~~~~~~^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::DebugVariable::FragmentInfo llvm::DebugVariable::getFragmentOrDefault() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3755:12: error: 'Fragment' was not declared in this scope 3755 | return Fragment.value_or(DefaultFragment); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator==(const llvm::DebugVariable&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3763:31: error: 'Fragment' was not declared in this scope 3763 | return std::tie(Variable, Fragment, InlinedAt) == | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3764:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'? 3764 | std::tie(Other.Variable, Other.Fragment, Other.InlinedAt); | ^~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator<(const llvm::DebugVariable&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3768:31: error: 'Fragment' was not declared in this scope 3768 | return std::tie(Variable, Fragment, InlinedAt) < | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3769:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'? 3769 | std::tie(Other.Variable, Other.Fragment, Other.InlinedAt); | ^~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo::getEmptyKey()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3778:40: error: 'nullopt' is not a member of 'std' 3778 | return DebugVariable(nullptr, std::nullopt, nullptr); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo::getTombstoneKey()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3783:52: error: no matching function for call to 'llvm::DebugVariable::DebugVariable(std::nullptr_t, , std::nullptr_t)' 3783 | return DebugVariable(nullptr, {{0, 0}}, nullptr); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)' 3744 | DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:65: note: no known conversion for argument 2 from '' to 'const llvm::DIExpression*' 3744 | DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)' 3739 | DebugVariable(const DILocalVariable *Var, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate expects 2 arguments, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DbgVariableIntrinsic*)' 3737 | DebugVariable(const DbgVariableIntrinsic *DII); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(const llvm::DebugVariable&)' 3725 | class DebugVariable { | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(llvm::DebugVariable&&)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::DebugVariable&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:16: error: 'optional' in namespace 'std' does not name a template type 3788 | const std::optional Fragment = D.getFragment(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:11: note: 'std::optional' is only available from C++17 onwards 3788 | const std::optional Fragment = D.getFragment(); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3789:9: error: 'Fragment' was not declared in this scope 3789 | if (Fragment) | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:6: error: 'optional' in namespace 'std' does not name a template type 49 | std::optional convertStrToRoundingMode(StringRef); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:1: note: 'std::optional' is only available from C++17 onwards 49 | std::optional convertStrToRoundingMode(StringRef); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:6: error: 'optional' in namespace 'std' does not name a template type 53 | std::optional convertRoundingModeToStr(RoundingMode); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:1: note: 'std::optional' is only available from C++17 onwards 53 | std::optional convertRoundingModeToStr(RoundingMode); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:6: error: 'optional' in namespace 'std' does not name a template type 57 | std::optional convertStrToExceptionBehavior(StringRef); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:1: note: 'std::optional' is only available from C++17 onwards 57 | std::optional convertStrToExceptionBehavior(StringRef); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:6: error: 'optional' in namespace 'std' does not name a template type 61 | std::optional convertExceptionBehaviorToStr(fp::ExceptionBehavior); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:1: note: 'std::optional' is only available from C++17 onwards 61 | std::optional convertExceptionBehaviorToStr(fp::ExceptionBehavior); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:33, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:77:53: error: 'nullopt' is not a member of 'std' 77 | ArrayRef Tys = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:93:56: error: 'nullopt' is not a member of 'std' 93 | ArrayRef Tys = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:8: error: 'optional' in namespace 'std' does not name a template type 247 | std::optional remangleIntrinsicFunction(Function *F); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:3: note: 'std::optional' is only available from C++17 onwards 247 | std::optional remangleIntrinsicFunction(Function *F); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:8: error: 'optional' in namespace 'std' does not name a template type 1715 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:3: note: 'std::optional' is only available from C++17 onwards 1715 | std::optional | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:8: error: 'optional' in namespace 'std' does not name a template type 317 | std::optional getFragmentSizeInBits() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:3: note: 'std::optional' is only available from C++17 onwards 317 | std::optional getFragmentSizeInBits() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:8: error: 'optional' in namespace 'std' does not name a template type 320 | std::optional getFragment() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:3: note: 'std::optional' is only available from C++17 onwards 320 | std::optional getFragment() const { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h: In constructor 'llvm::SMDiagnostic::SMDiagnostic(llvm::StringRef, llvm::SourceMgr::DiagKind, llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::ScalarEvolution::ExitLimit>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1774:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:10: error: 'optional' in namespace 'std' does not name a template type 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:5: note: 'std::optional' is only available from C++17 onwards 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:8: error: 'optional' in namespace 'std' does not name a template type 1803 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:3: note: 'std::optional' is only available from C++17 onwards 1803 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:8: error: 'optional' in namespace 'std' does not name a template type 2075 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:3: note: 'std::optional' is only available from C++17 onwards 2075 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:8: error: 'optional' in namespace 'std' does not name a template type 2139 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:3: note: 'std::optional' is only available from C++17 onwards 2139 | std::optional>> | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std' 1109 | std::nullopt); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:8: error: 'optional' in namespace 'std' does not name a template type 482 | std::optional getHotness() const { return Hotness; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:3: note: 'std::optional' is only available from C++17 onwards 482 | std::optional getHotness() const { return Hotness; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:24: error: 'std::optional' has not been declared 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:32: error: expected ',' or '...' before '<' token 483 | void setHotness(std::optional H) { Hotness = H; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:8: error: 'optional' in namespace 'std' does not name a template type 524 | std::optional Hotness; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:3: note: 'std::optional' is only available from C++17 onwards 524 | std::optional Hotness; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:15: error: 'optional' in namespace 'std' does not name a template type 492 | static std::optional getMaskParamPos(Intrinsic::ID IntrinsicID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:10: note: 'std::optional' is only available from C++17 onwards 492 | static std::optional getMaskParamPos(Intrinsic::ID IntrinsicID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:15: error: 'optional' in namespace 'std' does not name a template type 493 | static std::optional getVectorLengthParamPos( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:10: note: 'std::optional' is only available from C++17 onwards 493 | static std::optional getVectorLengthParamPos( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:15: error: 'optional' in namespace 'std' does not name a template type 524 | static std::optional getMemoryPointerParamPos(Intrinsic::ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:10: note: 'std::optional' is only available from C++17 onwards 524 | static std::optional getMemoryPointerParamPos(Intrinsic::ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:15: error: 'optional' in namespace 'std' does not name a template type 528 | static std::optional getMemoryDataParamPos(Intrinsic::ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:10: note: 'std::optional' is only available from C++17 onwards 528 | static std::optional getMemoryDataParamPos(Intrinsic::ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:8: error: 'optional' in namespace 'std' does not name a template type 539 | std::optional getFunctionalOpcode() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:3: note: 'std::optional' is only available from C++17 onwards 539 | std::optional getFunctionalOpcode() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:15: error: 'optional' in namespace 'std' does not name a template type 544 | static std::optional getFunctionalOpcodeForVP(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:10: note: 'std::optional' is only available from C++17 onwards 544 | static std::optional getFunctionalOpcodeForVP(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:15: error: 'optional' in namespace 'std' does not name a template type 555 | static std::optional getStartParamPos(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:10: note: 'std::optional' is only available from C++17 onwards 555 | static std::optional getStartParamPos(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:15: error: 'optional' in namespace 'std' does not name a template type 556 | static std::optional getVectorParamPos(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:10: note: 'std::optional' is only available from C++17 onwards 556 | static std::optional getVectorParamPos(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:8: error: 'optional' in namespace 'std' does not name a template type 606 | std::optional getRoundingMode() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:3: note: 'std::optional' is only available from C++17 onwards 606 | std::optional getRoundingMode() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:8: error: 'optional' in namespace 'std' does not name a template type 607 | std::optional getExceptionBehavior() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:3: note: 'std::optional' is only available from C++17 onwards 607 | std::optional getExceptionBehavior() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: note: candidate expects 3 arguments, 1 provided 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:847:35: error: return type 'struct llvm::MaybeAlign' is incomplete 847 | MaybeAlign getDestAlign() const { return getParamAlign(ARG_DEST); } | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:856:36: error: 'Alignment' has incomplete type 856 | void setDestAlignment(MaybeAlign Alignment) { | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: note: candidate expects 3 arguments, 1 provided 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:909:37: error: return type 'struct llvm::MaybeAlign' is incomplete 909 | MaybeAlign getSourceAlign() const { | ^ /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:919:38: error: 'Alignment' has incomplete type 919 | void setSourceAlignment(MaybeAlign Alignment) { | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In member function 'void llvm::DiagnosticInfoOptimizationBase::setHotness(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:48: error: 'Hotness' was not declared in this scope; did you mean 'setHotness'? 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~ | setHotness /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:58: error: 'H' was not declared in this scope 483 | void setHotness(std::optional H) { Hotness = H; } | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:8: error: 'optional' in namespace 'std' does not name a template type 866 | std::optional getCodeModel() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:3: note: 'std::optional' is only available from C++17 onwards 866 | std::optional getCodeModel() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleIdentifier(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: note: candidate expects 3 arguments, 1 provided 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setSourceFileName(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: note: candidate expects 3 arguments, 1 provided 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:28: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:119:8: error: 'optional' in namespace 'std' does not name a template type 119 | std::optional computeHotness(const Value *V); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:119:3: note: 'std::optional' is only available from C++17 onwards 119 | std::optional computeHotness(const Value *V); | ^~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setTargetTriple(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: note: candidate expects 3 arguments, 1 provided 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleInlineAsm(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: note: candidate expects 3 arguments, 1 provided 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In constructor 'llvm::SCEVNAryExpr::SCEVNAryExpr(llvm::FoldingSetNodeIDRef, llvm::SCEVTypes, const llvm::SCEV* const*, size_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:190:51: error: missing template arguments before '(' token 190 | : SCEV(ID, T, computeExpressionSize(ArrayRef(O, N))), Operands(O), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In member function 'llvm::ArrayRef llvm::SCEVNAryExpr::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:202:20: error: missing template arguments before '(' token 202 | return ArrayRef(Operands, NumOperands); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:40, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:29: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' 100 | using StackElement = std::pair>; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:57: error: template argument 2 is invalid 100 | using StackElement = std::pair>; | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:15: error: 'StackElement' was not declared in this scope 103 | std::vector VisitStack; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 1 is invalid 103 | std::vector VisitStack; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 2 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:16: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:50: error: 'nullopt' is not a member of 'std' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef, SetType&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:18: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:52: error: 'nullopt' is not a member of 'std' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'void llvm::df_iterator::toNext()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:125:33: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 125 | NodeRef Node = VisitStack.back().first; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: error: 'optional' is not a member of 'std' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:30: error: expected primary-expression before '>' token 126 | std::optional &Opt = VisitStack.back().second; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:33: error: 'Opt' was not declared in this scope 126 | std::optional &Opt = VisitStack.back().second; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:50: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:22: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:56: error: 'nullopt' is not a member of 'std' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:146:18: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 146 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:147:26: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 147 | } while (!VisitStack.empty()); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'const NodeRef& llvm::df_iterator::operator*() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:168:56: error: request for member 'back' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 168 | const NodeRef &operator*() const { return VisitStack.back().first; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator& llvm::df_iterator::skipChildren()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:186:16: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 186 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:187:21: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 187 | if (!VisitStack.empty()) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'unsigned int llvm::df_iterator::getPathLength() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:208:54: error: request for member 'size' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 208 | unsigned getPathLength() const { return VisitStack.size(); } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator::NodeRef llvm::df_iterator::getPath(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:212:56: error: invalid types 'const int[unsigned int]' for array subscript 212 | NodeRef getPath(unsigned n) const { return VisitStack[n].first; } | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' 73 | std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: error: 'negation' is not a member of 'std' 74 | std::negation, Any>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: note: 'std::negation' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:68: error: template argument 1 is invalid 74 | std::negation, Any>>, | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:26: error: 'std::negation' has not been declared 85 | std::negation>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:34: error: expected '>' before '<' token 85 | std::negation>>, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:86:67: error: 'value' in namespace '::' does not name a type 86 | std::is_copy_constructible>>::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std' 68 | using EnableIfCallable = std::enable_if_t>::value>; | ^~ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/type_traits:2554:11: note: provided for 'template using enable_if_t = typename std::enable_if::type' 2554 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; | ^~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:15: error: 'llvm::detail::EnableIfCallable' has not been declared 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:31: error: expected ',' or '...' before '<' token 378 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:377:7: note: ...following parameter 2 which has a default argument 377 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:15: error: 'llvm::detail::EnableIfCallable' has not been declared 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:31: error: expected ',' or '...' before '<' token 404 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:403:7: note: ...following parameter 2 which has a default argument 403 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Dominators.h:36, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:29: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h: In static member function 'static llvm::DomTreeBuilder::SemiNCAInfo::RootsT llvm::DomTreeBuilder::SemiNCAInfo::FindRoots(const DomTreeT&, llvm::DomTreeBuilder::SemiNCAInfo::BatchUpdatePtr)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: error: 'optional' is not a member of 'std' 407 | std::optional SuccOrder; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:33: error: expected primary-expression before '>' token 407 | std::optional SuccOrder; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:35: error: 'SuccOrder' was not declared in this scope 407 | std::optional SuccOrder; | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:8: error: 'optional' in namespace 'std' does not name a template type 103 | std::optional tryExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:3: note: 'std::optional' is only available from C++17 onwards 103 | std::optional tryExtValue() const { | ^~~ [ 24%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_id_to_ast_expr.c.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'std::string llvm::toString(const llvm::APInt&, unsigned int, bool, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef)' 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: note: candidate expects 3 arguments, 1 provided 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'size_t llvm::detail::join_items_size(Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:455:65: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 455 | return (0 + ... + join_one_item_size(std::forward(Items))); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:22: error: 'is_scalar_v' is not a member of 'std'; did you mean 'is_scalar'? 83 | static_assert(std::is_scalar_v, | ^~~~~~~~~~~ | is_scalar /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:37: error: expected primary-expression before '>' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:38: error: expected primary-expression before ',' token 83 | static_assert(std::is_scalar_v, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:32, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:30: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:8: error: 'optional' in namespace 'std' does not name a template type 337 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:3: note: 'std::optional' is only available from C++17 onwards 337 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:8: error: 'optional' in namespace 'std' does not name a template type 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:3: note: 'std::optional' is only available from C++17 onwards 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:8: error: 'optional' in namespace 'std' does not name a template type 219 | std::optional FirstByteOffset; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:3: note: 'std::optional' is only available from C++17 onwards 219 | std::optional FirstByteOffset; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:57: error: 'std::optional' has not been declared 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:65: error: expected ',' or '...' before '<' token 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In constructor 'llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:19: error: class 'llvm::FormattedBytes' does not have any field named 'FirstByteOffset' 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:35: error: 'O' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:67: error: 'NPL' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:37, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:30: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:8: error: 'optional' in namespace 'std' does not name a template type 93 | std::optional MDMap; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:3: note: 'std::optional' is only available from C++17 onwards 93 | std::optional MDMap; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:8: error: 'optional' in namespace 'std' does not name a template type 119 | std::optional &getMDMap() { return MDMap; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:3: note: 'std::optional' is only available from C++17 onwards 119 | std::optional &getMDMap() { return MDMap; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:8: error: 'optional' in namespace 'std' does not name a template type 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:3: note: 'std::optional' is only available from C++17 onwards 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:23: error: 'BGS' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:35: error: 'U' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'bool llvm::ValueMap::hasMD() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:113:36: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 113 | bool hasMD() const { return bool(MDMap); } | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:45: error: 'A' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LegacyPassManagers.h:243:49: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:19: error: 'std::optional' has not been declared 240 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:27: error: expected ',' or '...' before '<' token 240 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'llvm::ValueMap::MDMapT& llvm::ValueMap::MD()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:115:10: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 115 | if (!MDMap) | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:117:13: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 117 | return *MDMap; | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'void llvm::ValueMap::clear()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:147:5: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 147 | MDMap.reset(); | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:32: error: 'IndentLevel' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:45: error: 'FirstByteOffset' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:62: error: 'NumPerLine' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:25: error: 'ByteGroupSize' was not declared in this scope 244 | ByteGroupSize, Upper, false); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 244 | ByteGroupSize, Upper, false); | ^~~~~ | toUpper /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:30: error: 'std::optional' has not been declared 249 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token 249 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes_with_ascii(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:32: error: 'IndentLevel' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:30: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:8: error: 'optional' in namespace 'std' does not name a template type 546 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:3: note: 'std::optional' is only available from C++17 onwards 546 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:45: error: 'FirstByteOffset' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:8: error: 'optional' in namespace 'std' does not name a template type 624 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:3: note: 'std::optional' is only available from C++17 onwards 624 | std::optional>> | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:8: error: 'optional' in namespace 'std' does not name a template type 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:3: note: 'std::optional' is only available from C++17 onwards 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:8: error: 'optional' in namespace 'std' does not name a template type 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:3: note: 'std::optional' is only available from C++17 onwards 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:62: error: 'NumPerLine' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:8: error: 'optional' in namespace 'std' does not name a template type 1173 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:3: note: 'std::optional' is only available from C++17 onwards 1173 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:8: error: 'optional' in namespace 'std' does not name a template type 1183 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:3: note: 'std::optional' is only available from C++17 onwards 1183 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:8: error: 'optional' in namespace 'std' does not name a template type 1190 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:3: note: 'std::optional' is only available from C++17 onwards 1190 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:8: error: 'optional' in namespace 'std' does not name a template type 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:3: note: 'std::optional' is only available from C++17 onwards 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:25: error: 'ByteGroupSize' was not declared in this scope 253 | ByteGroupSize, Upper, true); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 253 | ByteGroupSize, Upper, true); | ^~~~~ | toUpper /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::detail::DenseSetPair >': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:55:17: required from 'class llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair >, llvm::DenseMapInfo >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:286:7: required from 'class llvm::SmallDenseSet >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:293:12: required from 'class llvm::SetVector, llvm::SmallDenseSet > >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:300:7: required from 'class llvm::SmallSetVector' /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:392:38: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:8: error: 'optional' in namespace 'std' does not name a template type 1715 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:3: note: 'std::optional' is only available from C++17 onwards 1715 | std::optional | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::ScalarEvolution::ExitLimit>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1774:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:59: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:30: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:10: error: 'optional' in namespace 'std' does not name a template type 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:5: note: 'std::optional' is only available from C++17 onwards 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:8: error: 'optional' in namespace 'std' does not name a template type 1803 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:3: note: 'std::optional' is only available from C++17 onwards 1803 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:8: error: 'optional' in namespace 'std' does not name a template type 2075 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:3: note: 'std::optional' is only available from C++17 onwards 2075 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:8: error: 'optional' in namespace 'std' does not name a template type 2139 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:3: note: 'std::optional' is only available from C++17 onwards 2139 | std::optional>> | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:17: error: 'std::enable_if_t' is not a type 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:28: error: expected ',' or '...' before '<' token 512 | std::enable_if_t> * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:59: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:6: error: 'optional' in namespace 'std' does not name a template type 526 | std::optional findMetadataOperand(llvm::MDNode *LoopMD, | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:1: note: 'std::optional' is only available from C++17 onwards 526 | std::optional findMetadataOperand(llvm::MDNode *LoopMD, | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:6: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getOptionalIntLoopAttribute(llvm::MDNode *LoopID, | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:1: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getOptionalIntLoopAttribute(llvm::MDNode *LoopID, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:17: error: 'std::enable_if_t' is not a type 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:28: error: expected ',' or '...' before '<' token 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:55: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:43, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:15: error: 'optional' in namespace 'std' does not name a template type 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:10: note: 'std::optional' is only available from C++17 onwards 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:15: error: 'optional' in namespace 'std' does not name a template type 258 | static std::optional getForDest(const CallBase *CI, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:10: note: 'std::optional' is only available from C++17 onwards 258 | static std::optional getForDest(const CallBase *CI, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std' 1109 | std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h: In static member function 'static llvm::MemoryLocation llvm::MemoryLocation::get(const llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:244:29: error: 'getOrNone' is not a member of 'llvm::MemoryLocation' 244 | return *MemoryLocation::getOrNone(Inst); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:12: error: 'std::enable_if_t' is not a type 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:23: error: expected ',' or '...' before '<' token 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:537:12: error: 'template template llvm::Expected::Expected(llvm::Expected&&, int)' cannot be overloaded with 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 537 | explicit Expected( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:529:3: note: previous declaration 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 529 | Expected(Expected &&Other, | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:164:41: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:28: error: 'optional' in namespace 'std' does not name a template type 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:23: note: 'std::optional' is only available from C++17 onwards 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:28: error: 'optional' in namespace 'std' does not name a template type 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:23: note: 'std::optional' is only available from C++17 onwards 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: At global scope: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:1665:8: error: 'optional' in namespace 'std' does not name a template type 1665 | std::optional name; | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:1665:3: note: 'std::optional' is only available from C++17 onwards 1665 | std::optional name; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:34: error: 'std::optional' has not been declared 1301 | FileError(const Twine &F, std::optional LineNum, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:42: error: expected ',' or '...' before '<' token 1301 | FileError(const Twine &F, std::optional LineNum, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:43: error: 'std::optional' has not been declared 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:51: error: expected ',' or '...' before '<' token 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:8: error: 'optional' in namespace 'std' does not name a template type 1321 | std::optional Line; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:3: note: 'std::optional' is only available from C++17 onwards 1321 | std::optional Line; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::AAQueryInfo::CacheEntry, 8>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:259:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In member function 'virtual void llvm::FileError::log(llvm::raw_ostream&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1279:9: error: 'Line' was not declared in this scope 1279 | if (Line) | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In constructor 'llvm::FileError::FileError(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1305:21: error: 'E' was not declared in this scope 1305 | Err = std::move(E); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:5: error: 'Line' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:22: error: 'LineNum' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In static member function 'static llvm::Error llvm::FileError::build(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1311:31: error: 'E' was not declared in this scope 1311 | handleAllErrors(std::move(E), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1317:53: error: 'Line' was not declared in this scope 1317 | std::unique_ptr(new FileError(F, Line, std::move(Payload)))); | ^~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:39: error: 'optional' in namespace 'std' does not name a template type 498 | const std::optional &OptLoc) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:34: note: 'std::optional' is only available from C++17 onwards 498 | const std::optional &OptLoc) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:47: error: expected ',' or '...' before '<' token 498 | const std::optional &OptLoc) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:39: error: 'optional' in namespace 'std' does not name a template type 592 | const std::optional &OptLoc, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:34: note: 'std::optional' is only available from C++17 onwards 592 | const std::optional &OptLoc, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:47: error: expected ',' or '...' before '<' token 592 | const std::optional &OptLoc, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:591:14: error: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' cannot be overloaded with 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 591 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: previous declaration 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 497 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: error: 'optional' is not a member of 'std' 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:50: error: expected primary-expression before '>' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:52: error: expected primary-expression before ')' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, size_t, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: error: 'optional' is not a member of 'std' 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:50: error: expected primary-expression before '>' token 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^ [ 24%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_id_to_id.c.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:500:29: error: 'OptLoc' was not declared in this scope 500 | return getModRefInfo(I, OptLoc, AAQIP); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:506:52: error: no matching function for call to 'llvm::AAResults::getModRefInfo(const llvm::Instruction*&, llvm::MemoryLocation)' 506 | return getModRefInfo(I, MemoryLocation(P, Size)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 497 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:28: note: no known conversion for argument 2 from 'llvm::MemoryLocation' to 'int' 498 | const std::optional &OptLoc) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)' 504 | ModRefInfo getModRefInfo(const Instruction *I, const Value *P, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*)' 511 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:66: note: no known conversion for argument 2 from 'llvm::MemoryLocation' to 'const llvm::CallBase*' 511 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call); | ~~~~~~~~~~~~~~~~^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*, llvm::AAQueryInfo&)' 569 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call2, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 571 | ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::CallBase*, llvm::AAQueryInfo&)' 573 | ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::VAArgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 575 | ModRefInfo getModRefInfo(const VAArgInst *V, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::LoadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 577 | ModRefInfo getModRefInfo(const LoadInst *L, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::StoreInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 579 | ModRefInfo getModRefInfo(const StoreInst *S, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::FenceInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 581 | ModRefInfo getModRefInfo(const FenceInst *S, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicCmpXchgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 583 | ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicRMWInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 585 | ModRefInfo getModRefInfo(const AtomicRMWInst *RMW, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchPadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 587 | ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchReturnInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 589 | ModRefInfo getModRefInfo(const CatchReturnInst *I, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:39: error: 'optional' in namespace 'std' does not name a template type 641 | const std::optional &OptLoc) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:34: note: 'std::optional' is only available from C++17 onwards 641 | const std::optional &OptLoc) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:47: error: expected ',' or '...' before '<' token 641 | const std::optional &OptLoc) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::BatchAAResults::getModRefInfo(const llvm::Instruction*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:642:32: error: 'OptLoc' was not declared in this scope 642 | return AA.getModRefInfo(I, OptLoc, AAQI); | ^~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp: In member function 'void polly::RejectLog::print(llvm::raw_ostream&, int) const': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:185:29: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 185 | OS.indent(level) << "[" << j++ << "] " << Reason->getMessage() << "\n"; | ~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~ | | | | | int | llvm::raw_ostream In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)' 190 | raw_ostream &operator<<(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)' 197 | raw_ostream &operator<<(unsigned char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)' 204 | raw_ostream &operator<<(signed char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)' 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)' 260 | raw_ostream &operator<<(unsigned long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)' 261 | raw_ostream &operator<<(long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)' 262 | raw_ostream &operator<<(unsigned long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)' 263 | raw_ostream &operator<<(long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)' 266 | raw_ostream &operator<<(unsigned int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)' 270 | raw_ostream &operator<<(int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)' 274 | raw_ostream &operator<<(double N); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)' 553 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)' 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasSetTracker.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:197:21: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::LocationSize)' 197 | inline raw_ostream &operator<<(raw_ostream &OS, LocationSize Size) { | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: In member function 'llvm::StringRef polly::Scop::getName()': /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2049:10: error: 'name' was not declared in this scope; did you mean 'tzname'? 2049 | if (!name) | ^~~~ | tzname /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2051:13: error: 'name' was not declared in this scope; did you mean 'tzname'? 2051 | return *name; | ^~~~ | tzname In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:705:39: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:40, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' 100 | using StackElement = std::pair>; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:57: error: template argument 2 is invalid 100 | using StackElement = std::pair>; | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:15: error: 'StackElement' was not declared in this scope 103 | std::vector VisitStack; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 1 is invalid 103 | std::vector VisitStack; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 2 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:16: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:50: error: 'nullopt' is not a member of 'std' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef, SetType&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:18: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:52: error: 'nullopt' is not a member of 'std' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'void llvm::df_iterator::toNext()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:125:33: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 125 | NodeRef Node = VisitStack.back().first; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: error: 'optional' is not a member of 'std' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:30: error: expected primary-expression before '>' token 126 | std::optional &Opt = VisitStack.back().second; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:33: error: 'Opt' was not declared in this scope 126 | std::optional &Opt = VisitStack.back().second; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:50: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:22: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:56: error: 'nullopt' is not a member of 'std' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:146:18: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 146 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:147:26: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 147 | } while (!VisitStack.empty()); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'const NodeRef& llvm::df_iterator::operator*() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:168:56: error: request for member 'back' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 168 | const NodeRef &operator*() const { return VisitStack.back().first; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator& llvm::df_iterator::skipChildren()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:186:16: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 186 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:187:21: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 187 | if (!VisitStack.empty()) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'unsigned int llvm::df_iterator::getPathLength() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:208:54: error: request for member 'size' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 208 | unsigned getPathLength() const { return VisitStack.size(); } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator::NodeRef llvm::df_iterator::getPath(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:212:56: error: invalid types 'const int[unsigned int]' for array subscript 212 | NodeRef getPath(unsigned n) const { return VisitStack[n].first; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, 2>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Dominators.h:36, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h: In static member function 'static llvm::DomTreeBuilder::SemiNCAInfo::RootsT llvm::DomTreeBuilder::SemiNCAInfo::FindRoots(const DomTreeT&, llvm::DomTreeBuilder::SemiNCAInfo::BatchUpdatePtr)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: error: 'optional' is not a member of 'std' 407 | std::optional SuccOrder; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:33: error: expected primary-expression before '>' token 407 | std::optional SuccOrder; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:35: error: 'SuccOrder' was not declared in this scope 407 | std::optional SuccOrder; | ^~~~~~~~~ [ 27%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_id_to_pw_aff.c.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallBitVector.h: In member function 'llvm::SmallBitVector::size_type llvm::SmallBitVector::count() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallBitVector.h:203:20: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 203 | return llvm::popcount(Bits); | ^~~~~~~~ | count In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h: In member function 'void llvm::RepeatedPass::printPipeline(llvm::raw_ostream&, llvm::function_ref)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1342:21: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 1342 | OS << "repeat<" << Count << ">("; | ~~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | int | llvm::raw_ostream In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)' 190 | raw_ostream &operator<<(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)' 197 | raw_ostream &operator<<(unsigned char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)' 204 | raw_ostream &operator<<(signed char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)' 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)' 260 | raw_ostream &operator<<(unsigned long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)' 261 | raw_ostream &operator<<(long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)' 262 | raw_ostream &operator<<(unsigned long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)' 263 | raw_ostream &operator<<(long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)' 266 | raw_ostream &operator<<(unsigned int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)' 270 | raw_ostream &operator<<(int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)' 274 | raw_ostream &operator<<(double N); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)' 553 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)' 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/InstructionCost.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/InstructionCost.h:87:8: error: 'optional' in namespace 'std' does not name a template type 87 | std::optional getValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/InstructionCost.h:87:3: note: 'std::optional' is only available from C++17 onwards 87 | std::optional getValue() const { | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:557:8: error: 'optional' in namespace 'std' does not name a template type 557 | std::optional instCombineIntrinsic(InstCombiner & IC, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:557:3: note: 'std::optional' is only available from C++17 onwards 557 | std::optional instCombineIntrinsic(InstCombiner & IC, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:561:8: error: 'optional' in namespace 'std' does not name a template type 561 | std::optional simplifyDemandedUseBitsIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:561:3: note: 'std::optional' is only available from C++17 onwards 561 | std::optional simplifyDemandedUseBitsIntrinsic( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:566:8: error: 'optional' in namespace 'std' does not name a template type 566 | std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:566:3: note: 'std::optional' is only available from C++17 onwards 566 | std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:979:8: error: 'optional' in namespace 'std' does not name a template type 979 | std::optional getMaxVScale() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:979:3: note: 'std::optional' is only available from C++17 onwards 979 | std::optional getMaxVScale() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:982:8: error: 'optional' in namespace 'std' does not name a template type 982 | std::optional getVScaleForTuning() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:982:3: note: 'std::optional' is only available from C++17 onwards 982 | std::optional getVScaleForTuning() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1035:8: error: 'optional' in namespace 'std' does not name a template type 1035 | std::optional getCacheSize(CacheLevel Level) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1035:3: note: 'std::optional' is only available from C++17 onwards 1035 | std::optional getCacheSize(CacheLevel Level) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1038:8: error: 'optional' in namespace 'std' does not name a template type 1038 | std::optional getCacheAssociativity(CacheLevel Level) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1038:3: note: 'std::optional' is only available from C++17 onwards 1038 | std::optional getCacheAssociativity(CacheLevel Level) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1275:45: error: 'std::optional' has not been declared 1275 | static bool requiresOrderedReduction(std::optional FMF) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1275:53: error: expected ',' or '...' before '<' token 1275 | static bool requiresOrderedReduction(std::optional FMF) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1304:45: error: 'std::optional' has not been declared 1304 | unsigned Opcode, VectorType *Ty, std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1304:53: error: expected ',' or '...' before '<' token 1304 | unsigned Opcode, VectorType *Ty, std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1326:12: error: 'std::optional' has not been declared 1326 | std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1326:20: error: expected ',' or '...' before '<' token 1326 | std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1383:12: error: 'std::optional' has not been declared 1383 | std::optional AtomicElementSize = std::nullopt) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1383:20: error: expected ',' or '...' before '<' token 1383 | std::optional AtomicElementSize = std::nullopt) const; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1395:12: error: 'std::optional' has not been declared 1395 | std::optional AtomicCpySize = std::nullopt) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1395:20: error: expected ',' or '...' before '<' token 1395 | std::optional AtomicCpySize = std::nullopt) const; | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = llvm::Use*; FuncTy = llvm::BasicBlock* (*)(llvm::Value*); ReferenceTy = llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4420:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'llvm::BasicBlock* (*)(llvm::Value*)'} to 'int' [-fpermissive] 414 | : mapped_iterator::iterator_adaptor_base(std::move(U)), F(std::move(F)) {} | ^ | | | std::remove_reference::type {aka llvm::BasicBlock* (*)(llvm::Value*)} /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = const llvm::Use*; FuncTy = const llvm::BasicBlock* (*)(const llvm::Value*); ReferenceTy = const llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4429:69: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'const llvm::BasicBlock* (*)(const llvm::Value*)'} to 'int' [-fpermissive] In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h: In member function 'llvm::BitVector::size_type llvm::BitVector::count() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:158:24: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 158 | NumBits += llvm::popcount(Bit); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1119:44: error: 'nullopt' is not a member of 'std' 1119 | ArrayRef Mask = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1122:54: error: 'nullopt' is not a member of 'std' 1122 | ArrayRef Args = std::nullopt) const; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In static member function 'static bool llvm::TargetTransformInfo::requiresOrderedReduction(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1276:12: error: 'FMF' was not declared in this scope 1276 | return FMF && !(*FMF).allowReassoc(); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1620:16: error: 'optional' in namespace 'std' does not name a template type 1620 | virtual std::optional instCombineIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1620:11: note: 'std::optional' is only available from C++17 onwards 1620 | virtual std::optional instCombineIntrinsic( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1622:16: error: 'optional' in namespace 'std' does not name a template type 1622 | virtual std::optional simplifyDemandedUseBitsIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1622:11: note: 'std::optional' is only available from C++17 onwards 1622 | virtual std::optional simplifyDemandedUseBitsIntrinsic( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1625:16: error: 'optional' in namespace 'std' does not name a template type 1625 | virtual std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1625:11: note: 'std::optional' is only available from C++17 onwards 1625 | virtual std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:32, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:8: error: 'optional' in namespace 'std' does not name a template type 337 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:3: note: 'std::optional' is only available from C++17 onwards 337 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:8: error: 'optional' in namespace 'std' does not name a template type 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:3: note: 'std::optional' is only available from C++17 onwards 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1726:16: error: 'optional' in namespace 'std' does not name a template type 1726 | virtual std::optional getMaxVScale() const = 0; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1726:11: note: 'std::optional' is only available from C++17 onwards 1726 | virtual std::optional getMaxVScale() const = 0; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1727:16: error: 'optional' in namespace 'std' does not name a template type 1727 | virtual std::optional getVScaleForTuning() const = 0; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1727:11: note: 'std::optional' is only available from C++17 onwards 1727 | virtual std::optional getVScaleForTuning() const = 0; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1738:16: error: 'optional' in namespace 'std' does not name a template type 1738 | virtual std::optional getCacheSize(CacheLevel Level) const = 0; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1738:11: note: 'std::optional' is only available from C++17 onwards 1738 | virtual std::optional getCacheSize(CacheLevel Level) const = 0; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1739:16: error: 'optional' in namespace 'std' does not name a template type 1739 | virtual std::optional getCacheAssociativity(CacheLevel Level) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1739:11: note: 'std::optional' is only available from C++17 onwards 1739 | virtual std::optional getCacheAssociativity(CacheLevel Level) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1833:35: error: 'std::optional' has not been declared 1833 | std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1833:43: error: expected ',' or '...' before '<' token 1833 | std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1840:12: error: 'std::optional' has not been declared 1840 | std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1840:20: error: expected ',' or '...' before '<' token 1840 | std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1864:12: error: 'std::optional' has not been declared 1864 | std::optional AtomicElementSize) const = 0; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1864:20: error: expected ',' or '...' before '<' token 1864 | std::optional AtomicElementSize) const = 0; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1870:12: error: 'std::optional' has not been declared 1870 | std::optional AtomicCpySize) const = 0; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1870:20: error: expected ',' or '...' before '<' token 1870 | std::optional AtomicCpySize) const = 0; | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:37, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:8: error: 'optional' in namespace 'std' does not name a template type 93 | std::optional MDMap; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:3: note: 'std::optional' is only available from C++17 onwards 93 | std::optional MDMap; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:8: error: 'optional' in namespace 'std' does not name a template type 119 | std::optional &getMDMap() { return MDMap; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:3: note: 'std::optional' is only available from C++17 onwards 119 | std::optional &getMDMap() { return MDMap; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:8: error: 'optional' in namespace 'std' does not name a template type 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:3: note: 'std::optional' is only available from C++17 onwards 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2022:8: error: 'optional' in namespace 'std' does not name a template type 2022 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2022:3: note: 'std::optional' is only available from C++17 onwards 2022 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2026:8: error: 'optional' in namespace 'std' does not name a template type 2026 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2026:3: note: 'std::optional' is only available from C++17 onwards 2026 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2033:8: error: 'optional' in namespace 'std' does not name a template type 2033 | std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2033:3: note: 'std::optional' is only available from C++17 onwards 2033 | std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2259:8: error: 'optional' in namespace 'std' does not name a template type 2259 | std::optional getMaxVScale() const override { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2259:3: note: 'std::optional' is only available from C++17 onwards 2259 | std::optional getMaxVScale() const override { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2262:8: error: 'optional' in namespace 'std' does not name a template type 2262 | std::optional getVScaleForTuning() const override { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2262:3: note: 'std::optional' is only available from C++17 onwards 2262 | std::optional getVScaleForTuning() const override { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2286:8: error: 'optional' in namespace 'std' does not name a template type 2286 | std::optional getCacheSize(CacheLevel Level) const override { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2286:3: note: 'std::optional' is only available from C++17 onwards 2286 | std::optional getCacheSize(CacheLevel Level) const override { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2289:8: error: 'optional' in namespace 'std' does not name a template type 2289 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2289:3: note: 'std::optional' is only available from C++17 onwards 2289 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'bool llvm::ValueMap::hasMD() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:113:36: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 113 | bool hasMD() const { return bool(MDMap); } | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2431:35: error: 'std::optional' has not been declared 2431 | std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2431:43: error: expected ',' or '...' before '<' token 2431 | std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2442:12: error: 'std::optional' has not been declared 2442 | std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2442:20: error: expected ',' or '...' before '<' token 2442 | std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2485:12: error: 'std::optional' has not been declared 2485 | std::optional AtomicElementSize) const override { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2485:20: error: expected ',' or '...' before '<' token 2485 | std::optional AtomicElementSize) const override { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2494:12: error: 'std::optional' has not been declared 2494 | std::optional AtomicCpySize) const override { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2494:20: error: expected ',' or '...' before '<' token 2494 | std::optional AtomicCpySize) const override { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'llvm::ValueMap::MDMapT& llvm::ValueMap::MD()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:115:10: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 115 | if (!MDMap) | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:117:13: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 117 | return *MDMap; | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'void llvm::ValueMap::clear()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:147:5: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 147 | MDMap.reset(); | ^~~~~ | MDMapT In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:10: error: 'optional' in namespace 'std' does not name a template type 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:5: note: 'std::optional' is only available from C++17 onwards 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:8: error: 'optional' in namespace 'std' does not name a template type 152 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:3: note: 'std::optional' is only available from C++17 onwards 152 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:153:73: error: expected unqualified-id before ')' token 153 | get_threadpool_strategy(StringRef Num, ThreadPoolStrategy Default = {}); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: In function 'llvm::ThreadPoolStrategy llvm::heavyweight_hardware_concurrency(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: error: 'optional' is not a member of 'std' 174 | std::optional S = | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:37: error: expected primary-expression before '>' token 174 | std::optional S = | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::InstructionCost llvm::TargetTransformInfo::Model::getArithmeticReductionCost(unsigned int, llvm::VectorType*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2433:56: error: 'FMF' was not declared in this scope 2433 | return Impl.getArithmeticReductionCost(Opcode, Ty, FMF, CostKind); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:39: error: 'S' was not declared in this scope 174 | std::optional S = | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2433:61: error: 'CostKind' was not declared in this scope 2433 | return Impl.getArithmeticReductionCost(Opcode, Ty, FMF, CostKind); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:175:9: error: 'get_threadpool_strategy' was not declared in this scope; did you mean 'ThreadPoolStrategy'? 175 | get_threadpool_strategy(Num, heavyweight_hardware_concurrency()); | ^~~~~~~~~~~~~~~~~~~~~~~ | ThreadPoolStrategy /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::InstructionCost llvm::TargetTransformInfo::Model::getExtendedReductionCost(unsigned int, bool, llvm::Type*, llvm::VectorType*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2444:73: error: 'FMF' was not declared in this scope 2444 | return Impl.getExtendedReductionCost(Opcode, IsUnsigned, ResTy, Ty, FMF, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:8: error: 'optional' in namespace 'std' does not name a template type 546 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:3: note: 'std::optional' is only available from C++17 onwards 546 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:8: error: 'optional' in namespace 'std' does not name a template type 624 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:3: note: 'std::optional' is only available from C++17 onwards 624 | std::optional>> | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:8: error: 'optional' in namespace 'std' does not name a template type 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:3: note: 'std::optional' is only available from C++17 onwards 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:8: error: 'optional' in namespace 'std' does not name a template type 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:3: note: 'std::optional' is only available from C++17 onwards 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2445:42: error: 'CostKind' was not declared in this scope 2445 | CostKind); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:8: error: 'optional' in namespace 'std' does not name a template type 1173 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:3: note: 'std::optional' is only available from C++17 onwards 1173 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:8: error: 'optional' in namespace 'std' does not name a template type 1183 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:3: note: 'std::optional' is only available from C++17 onwards 1183 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:8: error: 'optional' in namespace 'std' does not name a template type 1190 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:3: note: 'std::optional' is only available from C++17 onwards 1190 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:8: error: 'optional' in namespace 'std' does not name a template type 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:3: note: 'std::optional' is only available from C++17 onwards 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::Type* llvm::TargetTransformInfo::Model::getMemcpyLoopLoweringType(llvm::LLVMContext&, llvm::Value*, unsigned int, unsigned int, unsigned int, unsigned int, int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2488:43: error: 'AtomicElementSize' was not declared in this scope 2488 | AtomicElementSize); | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'void llvm::TargetTransformInfo::Model::getMemcpyLoopResidualLoweringType(llvm::SmallVectorImpl&, llvm::LLVMContext&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2497:65: error: 'AtomicCpySize' was not declared in this scope 2497 | SrcAlign, DestAlign, AtomicCpySize); | ^~~~~~~~~~~~~ [ 27%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ilp.c.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2665:8: error: 'optional' in namespace 'std' does not name a template type 2665 | std::optional TTI; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2665:3: note: 'std::optional' is only available from C++17 onwards 2665 | std::optional TTI; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:8: error: 'optional' in namespace 'std' does not name a template type 1715 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:3: note: 'std::optional' is only available from C++17 onwards 1715 | std::optional | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::ScalarEvolution::ExitLimit>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1774:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:10: error: 'optional' in namespace 'std' does not name a template type 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:5: note: 'std::optional' is only available from C++17 onwards 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:8: error: 'optional' in namespace 'std' does not name a template type 1803 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:3: note: 'std::optional' is only available from C++17 onwards 1803 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:8: error: 'optional' in namespace 'std' does not name a template type 2075 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:3: note: 'std::optional' is only available from C++17 onwards 2075 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:8: error: 'optional' in namespace 'std' does not name a template type 2139 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:3: note: 'std::optional' is only available from C++17 onwards 2139 | std::optional>> | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::detail::DenseMapPair >': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PriorityWorklist.h:61:9: required from 'class llvm::PriorityWorklist, llvm::SmallDenseMap, llvm::detail::DenseMapPair > >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PriorityWorklist.h:255:7: required from 'class llvm::SmallPriorityWorklist' /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:206:13: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std' 1109 | std::nullopt); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:16: error: 'std::optional' has not been declared 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:24: error: expected ',' or '...' before '<' token 100 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:25: error: 'std::optional' has not been declared 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:33: error: expected ',' or '...' before '<' token 114 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:20: error: 'std::optional' has not been declared 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:28: error: expected ',' or '...' before '<' token 128 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:23: error: 'std::optional' has not been declared 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:31: error: expected ',' or '...' before '<' token 152 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:21: error: 'std::optional' has not been declared 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:29: error: expected ',' or '...' before '<' token 158 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:11: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFile(const llvm::Twine&, bool, bool, bool, int)' 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:98:39: note: ...following parameter 2 which has a default argument 98 | getFile(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:20: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFileSlice(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, int64_t, bool, int)' 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:113:41: note: ...following parameter 5 which has a default argument 113 | int64_t Offset, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:15: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFile(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, bool, bool, int)' 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:127:20: note: ...following parameter 4 which has a default argument 127 | bool RequiresNullTerminator = true, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:18: error: default argument missing for parameter 4 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileOrSTDIN(const llvm::Twine&, bool, bool, int)' 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:150:46: note: ...following parameter 2 which has a default argument 150 | getFileOrSTDIN(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:157:21: note: ...following parameter 4 which has a default argument 157 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:16: error: 'std::optional' has not been declared 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:24: error: expected ',' or '...' before '<' token 204 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:21: error: 'std::optional' has not been declared 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:29: error: expected ',' or '...' before '<' token 210 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:30: error: 'std::optional' has not been declared 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:38: error: expected ',' or '...' before '<' token 220 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:11: error: default argument missing for parameter 3 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFile(const llvm::Twine&, bool, int)' 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:203:39: note: ...following parameter 2 which has a default argument 203 | getFile(const Twine &Filename, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:209:21: note: ...following parameter 4 which has a default argument 209 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:25: error: default argument missing for parameter 3 of 'static std::unique_ptr llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t, const llvm::Twine&, int)' 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:219:51: note: ...following parameter 2 which has a default argument 219 | getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "", | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:10: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 53 | SMRange(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:11: error: invalid use of '::' 53 | SMRange(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:28: error: expected ';' at end of member declaration 53 | SMRange(std::nullopt_t) {} | ^ | ; In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:10: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:8: error: 'shared_mutex' in namespace 'std' does not name a type 96 | std::shared_mutex impl; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:3: note: 'std::shared_mutex' is only available from C++17 onwards 96 | std::shared_mutex impl; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:106:7: error: 'impl' was not declared in this scope 106 | impl.lock_shared(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:118:7: error: 'impl' was not declared in this scope 118 | impl.unlock_shared(); | ^~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:131:7: error: 'impl' was not declared in this scope 131 | impl.lock(); | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:144:7: error: 'impl' was not declared in this scope 144 | impl.unlock(); | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:10: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In constructor 'llvm::SCEVNAryExpr::SCEVNAryExpr(llvm::FoldingSetNodeIDRef, llvm::SCEVTypes, const llvm::SCEV* const*, size_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:190:51: error: missing template arguments before '(' token 190 | : SCEV(ID, T, computeExpressionSize(ArrayRef(O, N))), Operands(O), | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In member function 'llvm::ArrayRef llvm::SCEVNAryExpr::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:202:20: error: missing template arguments before '(' token 202 | return ArrayRef(Operands, NumOperands); | ^ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:8: error: 'optional' in namespace 'std' does not name a template type 232 | std::optional identifyObject(const void *Ptr) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:3: note: 'std::optional' is only available from C++17 onwards 232 | std::optional identifyObject(const void *Ptr) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h: In constructor 'llvm::SMDiagnostic::SMDiagnostic(llvm::StringRef, llvm::SourceMgr::DiagKind, llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:8: error: 'optional' in namespace 'std' does not name a template type 482 | std::optional getHotness() const { return Hotness; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:3: note: 'std::optional' is only available from C++17 onwards 482 | std::optional getHotness() const { return Hotness; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:24: error: 'std::optional' has not been declared 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:32: error: expected ',' or '...' before '<' token 483 | void setHotness(std::optional H) { Hotness = H; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:8: error: 'optional' in namespace 'std' does not name a template type 524 | std::optional Hotness; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:3: note: 'std::optional' is only available from C++17 onwards 524 | std::optional Hotness; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: In member function 'int64_t llvm::BumpPtrAllocatorImpl::identifyKnownObject(const void*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: error: 'optional' is not a member of 'std' 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:26: error: expected primary-expression before '>' token 259 | std::optional Out = identifyObject(Ptr); | ^ [ 27%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_imath.c.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:28: error: 'Out' was not declared in this scope 259 | std::optional Out = identifyObject(Ptr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: error: there are no arguments to 'identifyObject' that depend on a template parameter, so a declaration of 'identifyObject' must be available [-fpermissive] 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: note: candidate expects 3 arguments, 1 provided 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: note: candidate expects 3 arguments, 1 provided 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In member function 'void llvm::DiagnosticInfoOptimizationBase::setHotness(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:48: error: 'Hotness' was not declared in this scope; did you mean 'setHotness'? 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~ | setHotness /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:58: error: 'H' was not declared in this scope 483 | void setHotness(std::optional H) { Hotness = H; } | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:17: error: 'optional' in namespace 'std' does not name a template type 668 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:12: note: 'std::optional' is only available from C++17 onwards 668 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:8: error: 'optional' in namespace 'std' does not name a template type 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:3: note: 'std::optional' is only available from C++17 onwards 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:6: error: 'optional' in namespace 'std' does not name a template type 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:1: note: 'std::optional' is only available from C++17 onwards 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:6: error: 'optional' in namespace 'std' does not name a template type 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:1: note: 'std::optional' is only available from C++17 onwards 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:6: error: 'optional' in namespace 'std' does not name a template type 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:1: note: 'std::optional' is only available from C++17 onwards 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:6: error: 'optional' in namespace 'std' does not name a template type 526 | std::optional findMetadataOperand(llvm::MDNode *LoopMD, | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:1: note: 'std::optional' is only available from C++17 onwards 526 | std::optional findMetadataOperand(llvm::MDNode *LoopMD, | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:6: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getOptionalIntLoopAttribute(llvm::MDNode *LoopID, | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:1: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getOptionalIntLoopAttribute(llvm::MDNode *LoopID, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FloatingPointMode.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APFloat.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:8: error: 'optional' in namespace 'std' does not name a template type 50 | std::optional Result; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:3: note: 'std::optional' is only available from C++17 onwards 50 | std::optional Result; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:43, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:15: error: 'optional' in namespace 'std' does not name a template type 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:10: note: 'std::optional' is only available from C++17 onwards 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:15: error: 'optional' in namespace 'std' does not name a template type 258 | static std::optional getForDest(const CallBase *CI, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:10: note: 'std::optional' is only available from C++17 onwards 258 | static std::optional getForDest(const CallBase *CI, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch::StringSwitch(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:54:13: error: class 'llvm::StringSwitch' does not have any field named 'Result' 54 | : Str(S), Result() { } | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch::StringSwitch(llvm::StringSwitch&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:64:23: error: class 'llvm::StringSwitch' does not have any field named 'Result' 64 | : Str(other.Str), Result(std::move(other.Result)) { } | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h: In static member function 'static llvm::MemoryLocation llvm::MemoryLocation::get(const llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:244:29: error: 'getOrNone' is not a member of 'llvm::MemoryLocation' 244 | return *MemoryLocation::getOrNone(Inst); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::Case(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:70:10: error: 'Result' was not declared in this scope 70 | if (!Result && Str == S) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::EndsWith(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:77:10: error: 'Result' was not declared in this scope 77 | if (!Result && Str.endswith(S)) { | ^~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c: In function 'unit_box_base_points': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:56:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 56 | for (i = 0; i < bset->n_ineq; ++i) { | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_imath.c:1: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined 31 | #define snprintf _snprintf | In file included from /usr/include/stdio.h:595, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/hash.h:15, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:14, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_imath.c:1: /usr/include/ssp/stdio.h:61: note: this is the location of the previous definition 61 | #define snprintf(str, len, ...) \ | /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::StartsWith(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:84:10: error: 'Result' was not declared in this scope 84 | if (!Result && Str.startswith(S)) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::CaseLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:143:10: error: 'Result' was not declared in this scope 143 | if (!Result && Str.equals_insensitive(S)) | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion 399 | static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 2; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:164:41: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::EndsWithLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:150:10: error: 'Result' was not declared in this scope 150 | if (!Result && Str.endswith_insensitive(S)) | ^~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_imath.c:1: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::StartsWithLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:157:10: error: 'Result' was not declared in this scope 157 | if (!Result && Str.startswith_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 223 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 229 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 211 | if (i >= (sizeof(num) + sizeof(mp_digit) - 1) / \ | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS' 235 | ISL_SIOIMATH_TO_DIGITS(num, digits, *used); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 286 | num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 307 | num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg; | ^~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 520 | for (i = 0; i < big->used; ++i) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'R llvm::StringSwitch::Default(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:183:9: error: 'Result' was not declared in this scope 183 | if (Result) | ^~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_imath.c:1: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 31 | #define snprintf _snprintf | ^~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf' 541 | snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_imath.c:1: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 596 | (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits] 619 | (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch::operator R()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:190:23: error: 'Result' was not declared in this scope 190 | return std::move(*Result); | ^~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 785 | if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) { | ^~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare] 1160 | for (i = 0; i < used * sizeof(mp_digit); i += 1) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::AAQueryInfo::CacheEntry, 8>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:259:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:39: error: 'optional' in namespace 'std' does not name a template type 498 | const std::optional &OptLoc) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:34: note: 'std::optional' is only available from C++17 onwards 498 | const std::optional &OptLoc) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:47: error: expected ',' or '...' before '<' token 498 | const std::optional &OptLoc) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:39: error: 'optional' in namespace 'std' does not name a template type 592 | const std::optional &OptLoc, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:34: note: 'std::optional' is only available from C++17 onwards 592 | const std::optional &OptLoc, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:47: error: expected ',' or '...' before '<' token 592 | const std::optional &OptLoc, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:591:14: error: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' cannot be overloaded with 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 591 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: previous declaration 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 497 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LegacyPassManagers.h:243:49: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:500:29: error: 'OptLoc' was not declared in this scope 500 | return getModRefInfo(I, OptLoc, AAQIP); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:506:52: error: no matching function for call to 'llvm::AAResults::getModRefInfo(const llvm::Instruction*&, llvm::MemoryLocation)' 506 | return getModRefInfo(I, MemoryLocation(P, Size)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 497 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:28: note: no known conversion for argument 2 from 'llvm::MemoryLocation' to 'int' 498 | const std::optional &OptLoc) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)' 504 | ModRefInfo getModRefInfo(const Instruction *I, const Value *P, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*)' 511 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:66: note: no known conversion for argument 2 from 'llvm::MemoryLocation' to 'const llvm::CallBase*' 511 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call); | ~~~~~~~~~~~~~~~~^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*, llvm::AAQueryInfo&)' 569 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call2, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 571 | ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::CallBase*, llvm::AAQueryInfo&)' 573 | ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::VAArgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 575 | ModRefInfo getModRefInfo(const VAArgInst *V, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::LoadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 577 | ModRefInfo getModRefInfo(const LoadInst *L, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::StoreInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 579 | ModRefInfo getModRefInfo(const StoreInst *S, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::FenceInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 581 | ModRefInfo getModRefInfo(const FenceInst *S, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicCmpXchgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 583 | ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicRMWInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 585 | ModRefInfo getModRefInfo(const AtomicRMWInst *RMW, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchPadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 587 | ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchReturnInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 589 | ModRefInfo getModRefInfo(const CatchReturnInst *I, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:39: error: 'optional' in namespace 'std' does not name a template type 641 | const std::optional &OptLoc) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:34: note: 'std::optional' is only available from C++17 onwards 641 | const std::optional &OptLoc) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:47: error: expected ',' or '...' before '<' token 641 | const std::optional &OptLoc) { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:152:48: error: return type 'struct llvm::MaybeAlign' is incomplete 152 | inline MaybeAlign getMaybeAlignValue() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'void llvm::ConstantInt::getMaybeAlignValue() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:153:37: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 153 | return MaybeAlign(getZExtValue()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'llvm::Align llvm::ConstantInt::getAlignValue() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:30: error: invalid use of 'void' 160 | return getMaybeAlignValue().valueOrOne(); | ~~~~~~~~~~~~~~~~~~^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: expected ';' before 'valueOrOne' 160 | return getMaybeAlignValue().valueOrOne(); | ^~~~~~~~~~ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::BatchAAResults::getModRefInfo(const llvm::Instruction*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:642:32: error: 'OptLoc' was not declared in this scope 642 | return AA.getModRefInfo(I, OptLoc, AAQI); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: 'valueOrOne' was not declared in this scope 160 | return getMaybeAlignValue().valueOrOne(); | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:27: error: 'are_base_of' was not declared in this scope 455 | static std::enable_if_t::value, Constant *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:56: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 455 | static std::enable_if_t::value, Constant *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:64: error: expected ';' before ',' token 455 | static std::enable_if_t::value, Constant *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::detail::DenseSetPair >': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:55:17: required from 'class llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair >, llvm::DenseMapInfo >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:286:7: required from 'class llvm::SmallDenseSet >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:293:12: required from 'class llvm::SetVector, llvm::SmallDenseSet > >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:300:7: required from 'class llvm::SmallSetVector' /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:392:38: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:40, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' 100 | using StackElement = std::pair>; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:57: error: template argument 2 is invalid 100 | using StackElement = std::pair>; | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:15: error: 'StackElement' was not declared in this scope 103 | std::vector VisitStack; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 1 is invalid 103 | std::vector VisitStack; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 2 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:16: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:50: error: 'nullopt' is not a member of 'std' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef, SetType&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:18: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:52: error: 'nullopt' is not a member of 'std' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'void llvm::df_iterator::toNext()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:125:33: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 125 | NodeRef Node = VisitStack.back().first; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: error: 'optional' is not a member of 'std' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:30: error: expected primary-expression before '>' token 126 | std::optional &Opt = VisitStack.back().second; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:33: error: 'Opt' was not declared in this scope 126 | std::optional &Opt = VisitStack.back().second; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:50: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:22: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:56: error: 'nullopt' is not a member of 'std' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:146:18: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 146 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:147:26: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 147 | } while (!VisitStack.empty()); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'const NodeRef& llvm::df_iterator::operator*() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:168:56: error: request for member 'back' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 168 | const NodeRef &operator*() const { return VisitStack.back().first; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator& llvm::df_iterator::skipChildren()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:186:16: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 186 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:187:21: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 187 | if (!VisitStack.empty()) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'unsigned int llvm::df_iterator::getPathLength() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:208:54: error: request for member 'size' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 208 | unsigned getPathLength() const { return VisitStack.size(); } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator::NodeRef llvm::df_iterator::getPath(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:212:56: error: invalid types 'const int[unsigned int]' for array subscript 212 | NodeRef getPath(unsigned n) const { return VisitStack[n].first; } | ^ [ 29%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/ScopBuilder.cpp.o /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantDataArray::get(llvm::LLVMContext&, ArrayTy&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:701:52: error: missing template arguments before '(' token 701 | return ConstantDataArray::get(Context, ArrayRef(Elts)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:25: error: 'std::optional' has not been declared 1247 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:33: error: expected ',' or '...' before '<' token 1247 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:25: error: 'std::optional' has not been declared 1255 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:33: error: expected ',' or '...' before '<' token 1255 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:25: error: 'std::optional' has not been declared 1266 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:33: error: expected ',' or '...' before '<' token 1266 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)' 1247 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1246:25: note: ...following parameter 4 which has a default argument 1246 | bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)' 1255 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1254:63: note: ...following parameter 4 which has a default argument 1254 | getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)' 1266 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1265:25: note: ...following parameter 4 which has a default argument 1265 | bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1250:24: error: missing template arguments before '(' token 1250 | Ty, C, ArrayRef((Value *const *)IdxList.data(), IdxList.size()), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:19: error: 'InRangeIndex' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:33: error: 'OnlyIfReducedTy' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = llvm::Use*; FuncTy = llvm::BasicBlock* (*)(llvm::Value*); ReferenceTy = llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4420:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'llvm::BasicBlock* (*)(llvm::Value*)'} to 'int' [-fpermissive] 414 | : mapped_iterator::iterator_adaptor_base(std::move(U)), F(std::move(F)) {} | ^ | | | std::remove_reference::type {aka llvm::BasicBlock* (*)(llvm::Value*)} /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = const llvm::Use*; FuncTy = const llvm::BasicBlock* (*)(const llvm::Value*); ReferenceTy = const llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4429:69: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'const llvm::BasicBlock* (*)(const llvm::Value*)'} to 'int' [-fpermissive] /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1260:64: error: 'InRangeIndex' was not declared in this scope 1260 | return getGetElementPtr(Ty, C, cast(Idx), InBounds, InRangeIndex, | ^~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: At global scope: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:1665:8: error: 'optional' in namespace 'std' does not name a template type 1665 | std::optional name; | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:1665:3: note: 'std::optional' is only available from C++17 onwards 1665 | std::optional name; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Dominators.h:36, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h: In static member function 'static llvm::DomTreeBuilder::SemiNCAInfo::RootsT llvm::DomTreeBuilder::SemiNCAInfo::FindRoots(const DomTreeT&, llvm::DomTreeBuilder::SemiNCAInfo::BatchUpdatePtr)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: error: 'optional' is not a member of 'std' 407 | std::optional SuccOrder; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:33: error: expected primary-expression before '>' token 407 | std::optional SuccOrder; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1261:29: error: 'OnlyIfReducedTy' was not declared in this scope 1261 | OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:35: error: 'SuccOrder' was not declared in this scope 407 | std::optional SuccOrder; | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetectionDiagnostic.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: In member function 'llvm::StringRef polly::Scop::getName()': /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2049:10: error: 'name' was not declared in this scope; did you mean 'tzname'? 2049 | if (!name) | ^~~~ | tzname /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2051:13: error: 'name' was not declared in this scope; did you mean 'tzname'? 2051 | return *name; | ^~~~ | tzname In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:32, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:8: error: 'optional' in namespace 'std' does not name a template type 337 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:3: note: 'std::optional' is only available from C++17 onwards 337 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:8: error: 'optional' in namespace 'std' does not name a template type 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:3: note: 'std::optional' is only available from C++17 onwards 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:37, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:8: error: 'optional' in namespace 'std' does not name a template type 93 | std::optional MDMap; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:3: note: 'std::optional' is only available from C++17 onwards 93 | std::optional MDMap; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:8: error: 'optional' in namespace 'std' does not name a template type 119 | std::optional &getMDMap() { return MDMap; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:3: note: 'std::optional' is only available from C++17 onwards 119 | std::optional &getMDMap() { return MDMap; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:8: error: 'optional' in namespace 'std' does not name a template type 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:3: note: 'std::optional' is only available from C++17 onwards 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'bool llvm::ValueMap::hasMD() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:113:36: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 113 | bool hasMD() const { return bool(MDMap); } | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'llvm::ValueMap::MDMapT& llvm::ValueMap::MD()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:115:10: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 115 | if (!MDMap) | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:117:13: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 117 | return *MDMap; | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'void llvm::ValueMap::clear()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:147:5: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 147 | MDMap.reset(); | ^~~~~ | MDMapT In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:8: error: 'optional' in namespace 'std' does not name a template type 546 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:3: note: 'std::optional' is only available from C++17 onwards 546 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:8: error: 'optional' in namespace 'std' does not name a template type 624 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:3: note: 'std::optional' is only available from C++17 onwards 624 | std::optional>> | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:8: error: 'optional' in namespace 'std' does not name a template type 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:3: note: 'std::optional' is only available from C++17 onwards 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:8: error: 'optional' in namespace 'std' does not name a template type 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:3: note: 'std::optional' is only available from C++17 onwards 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:8: error: 'optional' in namespace 'std' does not name a template type 1173 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:3: note: 'std::optional' is only available from C++17 onwards 1173 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:8: error: 'optional' in namespace 'std' does not name a template type 1183 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:3: note: 'std::optional' is only available from C++17 onwards 1183 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:8: error: 'optional' in namespace 'std' does not name a template type 1190 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:3: note: 'std::optional' is only available from C++17 onwards 1190 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:8: error: 'optional' in namespace 'std' does not name a template type 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:3: note: 'std::optional' is only available from C++17 onwards 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:136:70: error: 'nullopt' is not a member of 'std' 136 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt) | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIAssignID::DIAssignID(llvm::LLVMContext&, llvm::Metadata::StorageType)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:307:49: error: 'nullopt' is not a member of 'std' 307 | : MDNode(C, DIAssignIDKind, Storage, std::nullopt) {} | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:24, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallBitVector.h: In member function 'llvm::SmallBitVector::size_type llvm::SmallBitVector::count() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallBitVector.h:203:20: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 203 | return llvm::popcount(Bits); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:8: error: 'optional' in namespace 'std' does not name a template type 1715 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:3: note: 'std::optional' is only available from C++17 onwards 1715 | std::optional | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::ScalarEvolution::ExitLimit>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1774:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:10: error: 'optional' in namespace 'std' does not name a template type 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:5: note: 'std::optional' is only available from C++17 onwards 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:8: error: 'optional' in namespace 'std' does not name a template type 1803 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:3: note: 'std::optional' is only available from C++17 onwards 1803 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:8: error: 'optional' in namespace 'std' does not name a template type 2075 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:3: note: 'std::optional' is only available from C++17 onwards 2075 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:8: error: 'optional' in namespace 'std' does not name a template type 2139 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:3: note: 'std::optional' is only available from C++17 onwards 2139 | std::optional>> | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/InstructionCost.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/InstructionCost.h:87:8: error: 'optional' in namespace 'std' does not name a template type 87 | std::optional getValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/InstructionCost.h:87:3: note: 'std::optional' is only available from C++17 onwards 87 | std::optional getValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std' 1109 | std::nullopt); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:557:8: error: 'optional' in namespace 'std' does not name a template type 557 | std::optional instCombineIntrinsic(InstCombiner & IC, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:557:3: note: 'std::optional' is only available from C++17 onwards 557 | std::optional instCombineIntrinsic(InstCombiner & IC, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:561:8: error: 'optional' in namespace 'std' does not name a template type 561 | std::optional simplifyDemandedUseBitsIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:561:3: note: 'std::optional' is only available from C++17 onwards 561 | std::optional simplifyDemandedUseBitsIntrinsic( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:566:8: error: 'optional' in namespace 'std' does not name a template type 566 | std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:566:3: note: 'std::optional' is only available from C++17 onwards 566 | std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:979:8: error: 'optional' in namespace 'std' does not name a template type 979 | std::optional getMaxVScale() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:979:3: note: 'std::optional' is only available from C++17 onwards 979 | std::optional getMaxVScale() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:982:8: error: 'optional' in namespace 'std' does not name a template type 982 | std::optional getVScaleForTuning() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:982:3: note: 'std::optional' is only available from C++17 onwards 982 | std::optional getVScaleForTuning() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1035:8: error: 'optional' in namespace 'std' does not name a template type 1035 | std::optional getCacheSize(CacheLevel Level) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1035:3: note: 'std::optional' is only available from C++17 onwards 1035 | std::optional getCacheSize(CacheLevel Level) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1038:8: error: 'optional' in namespace 'std' does not name a template type 1038 | std::optional getCacheAssociativity(CacheLevel Level) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1038:3: note: 'std::optional' is only available from C++17 onwards 1038 | std::optional getCacheAssociativity(CacheLevel Level) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1275:45: error: 'std::optional' has not been declared 1275 | static bool requiresOrderedReduction(std::optional FMF) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1275:53: error: expected ',' or '...' before '<' token 1275 | static bool requiresOrderedReduction(std::optional FMF) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1304:45: error: 'std::optional' has not been declared 1304 | unsigned Opcode, VectorType *Ty, std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1304:53: error: expected ',' or '...' before '<' token 1304 | unsigned Opcode, VectorType *Ty, std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1326:12: error: 'std::optional' has not been declared 1326 | std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1326:20: error: expected ',' or '...' before '<' token 1326 | std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1383:12: error: 'std::optional' has not been declared 1383 | std::optional AtomicElementSize = std::nullopt) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1383:20: error: expected ',' or '...' before '<' token 1383 | std::optional AtomicElementSize = std::nullopt) const; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1395:12: error: 'std::optional' has not been declared 1395 | std::optional AtomicCpySize = std::nullopt) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1395:20: error: expected ',' or '...' before '<' token 1395 | std::optional AtomicCpySize = std::nullopt) const; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1119:44: error: 'nullopt' is not a member of 'std' 1119 | ArrayRef Mask = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1122:54: error: 'nullopt' is not a member of 'std' 1122 | ArrayRef Args = std::nullopt) const; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In static member function 'static bool llvm::TargetTransformInfo::requiresOrderedReduction(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1276:12: error: 'FMF' was not declared in this scope 1276 | return FMF && !(*FMF).allowReassoc(); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1620:16: error: 'optional' in namespace 'std' does not name a template type 1620 | virtual std::optional instCombineIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1620:11: note: 'std::optional' is only available from C++17 onwards 1620 | virtual std::optional instCombineIntrinsic( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1622:16: error: 'optional' in namespace 'std' does not name a template type 1622 | virtual std::optional simplifyDemandedUseBitsIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:15: error: 'optional' in namespace 'std' does not name a template type 520 | inline std::optional getSource() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:10: note: 'std::optional' is only available from C++17 onwards 520 | inline std::optional getSource() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1622:11: note: 'std::optional' is only available from C++17 onwards 1622 | virtual std::optional simplifyDemandedUseBitsIntrinsic( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1625:16: error: 'optional' in namespace 'std' does not name a template type 1625 | virtual std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1625:11: note: 'std::optional' is only available from C++17 onwards 1625 | virtual std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1726:16: error: 'optional' in namespace 'std' does not name a template type 1726 | virtual std::optional getMaxVScale() const = 0; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1726:11: note: 'std::optional' is only available from C++17 onwards 1726 | virtual std::optional getMaxVScale() const = 0; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1727:16: error: 'optional' in namespace 'std' does not name a template type 1727 | virtual std::optional getVScaleForTuning() const = 0; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1727:11: note: 'std::optional' is only available from C++17 onwards 1727 | virtual std::optional getVScaleForTuning() const = 0; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1738:16: error: 'optional' in namespace 'std' does not name a template type 1738 | virtual std::optional getCacheSize(CacheLevel Level) const = 0; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1738:11: note: 'std::optional' is only available from C++17 onwards 1738 | virtual std::optional getCacheSize(CacheLevel Level) const = 0; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1739:16: error: 'optional' in namespace 'std' does not name a template type 1739 | virtual std::optional getCacheAssociativity(CacheLevel Level) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1739:11: note: 'std::optional' is only available from C++17 onwards 1739 | virtual std::optional getCacheAssociativity(CacheLevel Level) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:8: error: 'optional' in namespace 'std' does not name a template type 599 | std::optional> Checksum; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:3: note: 'std::optional' is only available from C++17 onwards 599 | std::optional> Checksum; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1833:35: error: 'std::optional' has not been declared 1833 | std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1833:43: error: expected ',' or '...' before '<' token 1833 | std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1840:12: error: 'std::optional' has not been declared 1840 | std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1840:20: error: expected ',' or '...' before '<' token 1840 | std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:15: error: 'std::optional' has not been declared 604 | std::optional> CS, MDString *Src, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:23: error: expected ',' or '...' before '<' token 604 | std::optional> CS, MDString *Src, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:31: error: 'std::optional' has not been declared 610 | std::optional> CS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:39: error: expected ',' or '...' before '<' token 610 | std::optional> CS, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:31: error: 'std::optional' has not been declared 623 | std::optional> CS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:39: error: expected ',' or '...' before '<' token 623 | std::optional> CS, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1864:12: error: 'std::optional' has not been declared 1864 | std::optional AtomicElementSize) const = 0; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1864:20: error: expected ',' or '...' before '<' token 1864 | std::optional AtomicElementSize) const = 0; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1870:12: error: 'std::optional' has not been declared 1870 | std::optional AtomicCpySize) const = 0; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1870:20: error: expected ',' or '...' before '<' token 1870 | std::optional AtomicCpySize) const = 0; | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2022:8: error: 'optional' in namespace 'std' does not name a template type 2022 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2022:3: note: 'std::optional' is only available from C++17 onwards 2022 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2026:8: error: 'optional' in namespace 'std' does not name a template type 2026 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2026:3: note: 'std::optional' is only available from C++17 onwards 2026 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2033:8: error: 'optional' in namespace 'std' does not name a template type 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 2033 | std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2033:3: note: 'std::optional' is only available from C++17 onwards 2033 | std::optional simplifyDemandedVectorEltsIntrinsic( | ^~~ 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2259:8: error: 'optional' in namespace 'std' does not name a template type 2259 | std::optional getMaxVScale() const override { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2259:3: note: 'std::optional' is only available from C++17 onwards 2259 | std::optional getMaxVScale() const override { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2262:8: error: 'optional' in namespace 'std' does not name a template type 2262 | std::optional getVScaleForTuning() const override { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2262:3: note: 'std::optional' is only available from C++17 onwards 2262 | std::optional getVScaleForTuning() const override { | ^~~ 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:8: error: 'optional' in namespace 'std' does not name a template type 648 | std::optional> getChecksum() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:3: note: 'std::optional' is only available from C++17 onwards 648 | std::optional> getChecksum() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:8: error: 'optional' in namespace 'std' does not name a template type 654 | std::optional getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:3: note: 'std::optional' is only available from C++17 onwards 654 | std::optional getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2286:8: error: 'optional' in namespace 'std' does not name a template type 2286 | std::optional getCacheSize(CacheLevel Level) const override { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2286:3: note: 'std::optional' is only available from C++17 onwards 2286 | std::optional getCacheSize(CacheLevel Level) const override { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2289:8: error: 'optional' in namespace 'std' does not name a template type 2289 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:8: error: 'optional' in namespace 'std' does not name a template type 661 | std::optional> getRawChecksum() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:3: note: 'std::optional' is only available from C++17 onwards 661 | std::optional> getRawChecksum() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2289:3: note: 'std::optional' is only available from C++17 onwards 2289 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:15: error: 'optional' in namespace 'std' does not name a template type 667 | static std::optional getChecksumKind(StringRef CSKindStr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:10: note: 'std::optional' is only available from C++17 onwards 667 | static std::optional getChecksumKind(StringRef CSKindStr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getImpl(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: error: 'optional' is not a member of 'std' 613 | std::optional> MDChecksum; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:42: error: expected primary-expression before '>' token 613 | std::optional> MDChecksum; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2431:35: error: 'std::optional' has not been declared 2431 | std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2431:43: error: expected ',' or '...' before '<' token 2431 | std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2442:12: error: 'std::optional' has not been declared 2442 | std::optional FMF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2442:20: error: expected ',' or '...' before '<' token 2442 | std::optional FMF, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2485:12: error: 'std::optional' has not been declared 2485 | std::optional AtomicElementSize) const override { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2485:20: error: expected ',' or '...' before '<' token 2485 | std::optional AtomicElementSize) const override { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2494:12: error: 'std::optional' has not been declared 2494 | std::optional AtomicCpySize) const override { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2494:20: error: expected ',' or '...' before '<' token 2494 | std::optional AtomicCpySize) const override { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:45: error: 'MDChecksum' was not declared in this scope 613 | std::optional> MDChecksum; | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:614:9: error: 'CS' was not declared in this scope 614 | if (CS) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:20: error: invalid use of member 'llvm::DIFile::Source' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:53: error: invalid use of member 'llvm::DIFile::Source' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:72: error: invalid use of member 'llvm::Metadata::Storage' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::InstructionCost llvm::TargetTransformInfo::Model::getArithmeticReductionCost(unsigned int, llvm::VectorType*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2433:56: error: 'FMF' was not declared in this scope 2433 | return Impl.getArithmeticReductionCost(Opcode, Ty, FMF, CostKind); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here 72 | unsigned char Storage : 7; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32: required from 'llvm::DenseMap::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32: required from 'llvm::DenseMap::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2433:61: error: 'CostKind' was not declared in this scope 2433 | return Impl.getArithmeticReductionCost(Opcode, Ty, FMF, CostKind); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:619:20: error: 'ShouldCreate' was not declared in this scope 619 | ShouldCreate); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::InstructionCost llvm::TargetTransformInfo::Model::getExtendedReductionCost(unsigned int, bool, llvm::Type*, llvm::VectorType*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2444:73: error: 'FMF' was not declared in this scope 2444 | return Impl.getExtendedReductionCost(Opcode, IsUnsigned, ResTy, Ty, FMF, | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In constructor 'llvm::SCEVNAryExpr::SCEVNAryExpr(llvm::FoldingSetNodeIDRef, llvm::SCEVTypes, const llvm::SCEV* const*, size_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:190:51: error: missing template arguments before '(' token 190 | : SCEV(ID, T, computeExpressionSize(ArrayRef(O, N))), Operands(O), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In member function 'llvm::ArrayRef llvm::SCEVNAryExpr::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:202:20: error: missing template arguments before '(' token 202 | return ArrayRef(Operands, NumOperands); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2445:42: error: 'CostKind' was not declared in this scope 2445 | CostKind); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIFile llvm::DIFile::cloneImpl() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:25: error: 'getChecksum' was not declared in this scope 629 | getChecksum(), getSource()); | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:40: error: 'getSource' was not declared in this scope; did you mean 'Source'? 629 | getChecksum(), getSource()); | ^~~~~~~~~ | Source /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::Type* llvm::TargetTransformInfo::Model::getMemcpyLoopLoweringType(llvm::LLVMContext&, llvm::Value*, unsigned int, unsigned int, unsigned int, unsigned int, int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2488:43: error: 'AtomicElementSize' was not declared in this scope 2488 | AtomicElementSize); | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ [ 29%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_input.c.o In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'void llvm::TargetTransformInfo::Model::getMemcpyLoopResidualLoweringType(llvm::SmallVectorImpl&, llvm::LLVMContext&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2497:65: error: 'AtomicCpySize' was not declared in this scope 2497 | SrcAlign, DestAlign, AtomicCpySize); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:6: error: 'optional' in namespace 'std' does not name a template type 686 | std::optional DIScope::getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:1: note: 'std::optional' is only available from C++17 onwards 686 | std::optional DIScope::getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2665:8: error: 'optional' in namespace 'std' does not name a template type 2665 | std::optional TTI; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2665:3: note: 'std::optional' is only available from C++17 onwards 2665 | std::optional TTI; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::detail::DenseMapPair >': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PriorityWorklist.h:61:9: required from 'class llvm::PriorityWorklist, llvm::SmallDenseMap, llvm::detail::DenseMapPair > >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PriorityWorklist.h:255:7: required from 'class llvm::SmallPriorityWorklist' /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:206:13: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:8: error: 'optional' in namespace 'std' does not name a template type 863 | std::optional getSignedness() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:3: note: 'std::optional' is only available from C++17 onwards 863 | std::optional getSignedness() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:16: error: 'std::optional' has not been declared 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:24: error: expected ',' or '...' before '<' token 100 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:25: error: 'std::optional' has not been declared 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:33: error: expected ',' or '...' before '<' token 114 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:20: error: 'std::optional' has not been declared 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:28: error: expected ',' or '...' before '<' token 128 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:23: error: 'std::optional' has not been declared 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:31: error: expected ',' or '...' before '<' token 152 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:21: error: 'std::optional' has not been declared 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:29: error: expected ',' or '...' before '<' token 158 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:11: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFile(const llvm::Twine&, bool, bool, bool, int)' 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:98:39: note: ...following parameter 2 which has a default argument 98 | getFile(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:20: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFileSlice(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, int64_t, bool, int)' 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:113:41: note: ...following parameter 5 which has a default argument 113 | int64_t Offset, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:15: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFile(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, bool, bool, int)' 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:127:20: note: ...following parameter 4 which has a default argument 127 | bool RequiresNullTerminator = true, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:18: error: default argument missing for parameter 4 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileOrSTDIN(const llvm::Twine&, bool, bool, int)' 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:150:46: note: ...following parameter 2 which has a default argument 150 | getFileOrSTDIN(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:157:21: note: ...following parameter 4 which has a default argument 157 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:16: error: 'std::optional' has not been declared 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:24: error: expected ',' or '...' before '<' token 204 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:21: error: 'std::optional' has not been declared 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:29: error: expected ',' or '...' before '<' token 210 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:30: error: 'std::optional' has not been declared 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:38: error: expected ',' or '...' before '<' token 220 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:11: error: default argument missing for parameter 3 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFile(const llvm::Twine&, bool, int)' 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:203:39: note: ...following parameter 2 which has a default argument 203 | getFile(const Twine &Filename, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:209:21: note: ...following parameter 4 which has a default argument 209 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:25: error: default argument missing for parameter 3 of 'static std::unique_ptr llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t, const llvm::Twine&, int)' 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:219:51: note: ...following parameter 2 which has a default argument 219 | getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "", | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:10: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 53 | SMRange(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:11: error: invalid use of '::' 53 | SMRange(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:28: error: expected ';' at end of member declaration 53 | SMRange(std::nullopt_t) {} | ^ | ; --- lib/CMakeFiles/obj.Polly.dir/Analysis/ScopDetectionDiagnostic.cpp.o --- *** [lib/CMakeFiles/obj.Polly.dir/Analysis/ScopDetectionDiagnostic.cpp.o] Error code 1 make[2]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build --- lib/External/CMakeFiles/PollyISL.dir/all --- *** [lib/External/CMakeFiles/PollyISL.dir/all] Error code 6 make[1]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:8: error: 'optional' in namespace 'std' does not name a template type 969 | std::optional DWARFAddressSpace; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:3: note: 'std::optional' is only available from C++17 onwards 969 | std::optional DWARFAddressSpace; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:22: error: 'std::optional' has not been declared 974 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:30: error: expected ',' or '...' before '<' token 974 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:16: error: 'std::optional' has not been declared 984 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:24: error: expected ',' or '...' before '<' token 984 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:16: error: 'std::optional' has not been declared 996 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:24: error: expected ',' or '...' before '<' token 996 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:8: error: 'optional' in namespace 'std' does not name a template type 1036 | std::optional getDWARFAddressSpace() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:3: note: 'std::optional' is only available from C++17 onwards 1036 | std::optional getDWARFAddressSpace() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIDerivedType::DIDerivedType(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:43: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 977 | AlignInBits, OffsetInBits, Flags, Ops), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:50: error: 'Ops' was not declared in this scope 977 | AlignInBits, OffsetInBits, Flags, Ops), | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:9: error: class 'llvm::DIDerivedType' does not have any field named 'DWARFAddressSpace' 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:27: error: 'DWARFAddressSpace' was not declared in this scope 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h: In constructor 'llvm::SMDiagnostic::SMDiagnostic(llvm::StringRef, llvm::SourceMgr::DiagKind, llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getImpl(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:20: error: 'DWARFAddressSpace' was not declared in this scope 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: invalid use of member 'llvm::DIType::Flags' in static member function 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:46: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~ | getExtraData /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:57: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~~~ | getAnnotations /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:20: error: invalid use of member 'llvm::Metadata::Storage' in static member function 990 | Storage, ShouldCreate); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here 72 | unsigned char Storage : 7; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:8: error: 'optional' in namespace 'std' does not name a template type 482 | std::optional getHotness() const { return Hotness; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:3: note: 'std::optional' is only available from C++17 onwards 482 | std::optional getHotness() const { return Hotness; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:24: error: 'std::optional' has not been declared 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:32: error: expected ',' or '...' before '<' token 483 | void setHotness(std::optional H) { Hotness = H; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:8: error: 'optional' in namespace 'std' does not name a template type 524 | std::optional Hotness; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:3: note: 'std::optional' is only available from C++17 onwards 524 | std::optional Hotness; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:29: error: 'ShouldCreate' was not declared in this scope 990 | Storage, ShouldCreate); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: note: candidate expects 3 arguments, 1 provided 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: note: candidate expects 3 arguments, 1 provided 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:26: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In member function 'void llvm::DiagnosticInfoOptimizationBase::setHotness(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:48: error: 'Hotness' was not declared in this scope; did you mean 'setHotness'? 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~ | setHotness /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:58: error: 'H' was not declared in this scope 483 | void setHotness(std::optional H) { Hotness = H; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIDerivedType llvm::DIDerivedType::cloneImpl() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1004:9: error: 'getDWARFAddressSpace' was not declared in this scope 1004 | getDWARFAddressSpace(), getFlags(), getExtraData(), getAnnotations()); | ^~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:70:8: error: 'optional' in namespace 'std' does not name a template type 70 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:70:3: note: 'std::optional' is only available from C++17 onwards 70 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:76:8: error: 'optional' in namespace 'std' does not name a template type 76 | std::optional getProfileCountFromFreq(uint64_t Freq) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:76:3: note: 'std::optional' is only available from C++17 onwards 76 | std::optional getProfileCountFromFreq(uint64_t Freq) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:16: error: 'std::optional' has not been declared 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:24: error: expected ',' or '...' before '<' token 100 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:25: error: 'std::optional' has not been declared 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:33: error: expected ',' or '...' before '<' token 114 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:20: error: 'std::optional' has not been declared 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:28: error: expected ',' or '...' before '<' token 128 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:23: error: 'std::optional' has not been declared 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:31: error: expected ',' or '...' before '<' token 152 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:21: error: 'std::optional' has not been declared 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:29: error: expected ',' or '...' before '<' token 158 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:11: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFile(const llvm::Twine&, bool, bool, bool, int)' 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:98:39: note: ...following parameter 2 which has a default argument 98 | getFile(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:20: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFileSlice(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, int64_t, bool, int)' 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:113:41: note: ...following parameter 5 which has a default argument 113 | int64_t Offset, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:15: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFile(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, bool, bool, int)' 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:127:20: note: ...following parameter 4 which has a default argument 127 | bool RequiresNullTerminator = true, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:18: error: default argument missing for parameter 4 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileOrSTDIN(const llvm::Twine&, bool, bool, int)' 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:150:46: note: ...following parameter 2 which has a default argument 150 | getFileOrSTDIN(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:157:21: note: ...following parameter 4 which has a default argument 157 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:16: error: 'std::optional' has not been declared 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:24: error: expected ',' or '...' before '<' token 204 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:21: error: 'std::optional' has not been declared 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:29: error: expected ',' or '...' before '<' token 210 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:30: error: 'std::optional' has not been declared 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:38: error: expected ',' or '...' before '<' token 220 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:11: error: default argument missing for parameter 3 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFile(const llvm::Twine&, bool, int)' 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:203:39: note: ...following parameter 2 which has a default argument 203 | getFile(const Twine &Filename, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:209:21: note: ...following parameter 4 which has a default argument 209 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:25: error: default argument missing for parameter 3 of 'static std::unique_ptr llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t, const llvm::Twine&, int)' 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:219:51: note: ...following parameter 2 which has a default argument 219 | getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "", | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:10: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 53 | SMRange(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:11: error: invalid use of '::' 53 | SMRange(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:28: error: expected ';' at end of member declaration 53 | SMRange(std::nullopt_t) {} | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h: In constructor 'llvm::SMDiagnostic::SMDiagnostic(llvm::StringRef, llvm::SourceMgr::DiagKind, llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:8: error: 'optional' in namespace 'std' does not name a template type 482 | std::optional getHotness() const { return Hotness; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:3: note: 'std::optional' is only available from C++17 onwards 482 | std::optional getHotness() const { return Hotness; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:24: error: 'std::optional' has not been declared 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:32: error: expected ',' or '...' before '<' token 483 | void setHotness(std::optional H) { Hotness = H; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:8: error: 'optional' in namespace 'std' does not name a template type 524 | std::optional Hotness; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:3: note: 'std::optional' is only available from C++17 onwards 524 | std::optional Hotness; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: note: candidate expects 3 arguments, 1 provided 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: note: candidate expects 3 arguments, 1 provided 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion 399 | static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 2; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In member function 'void llvm::DiagnosticInfoOptimizationBase::setHotness(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:48: error: 'Hotness' was not declared in this scope; did you mean 'setHotness'? 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~ | setHotness In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:58: error: 'H' was not declared in this scope 483 | void setHotness(std::optional H) { Hotness = H; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:119:8: error: 'optional' in namespace 'std' does not name a template type 119 | std::optional computeHotness(const Value *V); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:119:3: note: 'std::optional' is only available from C++17 onwards 119 | std::optional computeHotness(const Value *V); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:15: error: 'optional' in namespace 'std' does not name a template type 1383 | static std::optional getEmissionKind(StringRef Str); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:10: note: 'std::optional' is only available from C++17 onwards 1383 | static std::optional getEmissionKind(StringRef Str); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:15: error: 'optional' in namespace 'std' does not name a template type 1385 | static std::optional getNameTableKind(StringRef Str); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:10: note: 'std::optional' is only available from C++17 onwards 1385 | static std::optional getNameTableKind(StringRef Str); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:8: error: 'optional' in namespace 'std' does not name a template type 1670 | std::optional getSource() const { return getScope()->getSource(); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:3: note: 'std::optional' is only available from C++17 onwards 1670 | std::optional getSource() const { return getScope()->getSource(); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:15: error: 'optional' in namespace 'std' does not name a template type 1737 | inline std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:10: note: 'std::optional' is only available from C++17 onwards 1737 | inline std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:15: error: 'optional' in namespace 'std' does not name a template type 1754 | inline std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:10: note: 'std::optional' is only available from C++17 onwards 1754 | inline std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:15: error: 'optional' in namespace 'std' does not name a template type 1813 | static std::optional encodeDiscriminator(unsigned BD, unsigned DF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:10: note: 'std::optional' is only available from C++17 onwards 1813 | static std::optional encodeDiscriminator(unsigned BD, unsigned DF, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = llvm::Use*; FuncTy = llvm::BasicBlock* (*)(llvm::Value*); ReferenceTy = llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4420:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'llvm::BasicBlock* (*)(llvm::Value*)'} to 'int' [-fpermissive] 414 | : mapped_iterator::iterator_adaptor_base(std::move(U)), F(std::move(F)) {} | ^ | | | std::remove_reference::type {aka llvm::BasicBlock* (*)(llvm::Value*)} /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = const llvm::Use*; FuncTy = const llvm::BasicBlock* (*)(const llvm::Value*); ReferenceTy = const llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4429:69: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'const llvm::BasicBlock* (*)(const llvm::Value*)'} to 'int' [-fpermissive] In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:6: error: 'optional' in namespace 'std' does not name a template type 2277 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:1: note: 'std::optional' is only available from C++17 onwards 2277 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:6: error: 'optional' in namespace 'std' does not name a template type 2296 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:1: note: 'std::optional' is only available from C++17 onwards 2296 | std::optional | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' 294 | template struct DenseMapInfo> { | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: note: 'std::variant' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: expected parameter pack before '...' 294 | template struct DenseMapInfo> { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:62: error: template argument 1 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:65: error: expected unqualified-id before '>' token 294 | template struct DenseMapInfo> { | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:56: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 64 | template >> | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:70: error: template argument 1 is invalid 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:73: error: expected unqualified-id before '>' token 64 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 109 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:70: error: template argument 1 is invalid 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:73: error: expected unqualified-id before '>' token 109 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 180 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:37: error: expected primary-expression before '>' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:180:38: error: expected primary-expression before ',' token 180 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_zero(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 246 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:37: error: expected primary-expression before '>' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:246:38: error: expected primary-expression before ',' token 246 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countl_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 259 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:37: error: expected primary-expression before '>' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:259:38: error: expected primary-expression before ',' token 259 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::countr_one(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 272 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:37: error: expected primary-expression before '>' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:272:38: error: expected primary-expression before ',' token 272 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'int llvm::bit_width(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 282 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:37: error: expected primary-expression before '>' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:282:38: error: expected primary-expression before ',' token 282 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_floor(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 292 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:37: error: expected primary-expression before '>' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:292:38: error: expected primary-expression before ',' token 292 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: In function 'T llvm::bit_ceil(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 307 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:37: error: expected primary-expression before '>' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:307:38: error: expected primary-expression before ',' token 307 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:56: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 348 | template >> | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:70: error: template argument 1 is invalid 348 | template >> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:73: error: expected unqualified-id before '>' token 348 | template >> | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 78 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:37: error: expected primary-expression before '>' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:78:38: error: expected primary-expression before ',' token 78 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingZeros(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 90 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:37: error: expected primary-expression before '>' token 90 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:90:38: error: expected primary-expression before ',' token 90 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isInt(int64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:212:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 212 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:214:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 214 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:216:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 216 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:218:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 218 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isUInt(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (N == 8) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:238:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 238 | if constexpr (N == 16) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:240:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 240 | if constexpr (N == 32) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:242:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 242 | if constexpr (N < 64) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:325:16: error: 'has_single_bit' is not a member of 'llvm' 325 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'constexpr bool llvm::isPowerOf2_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:330:16: error: 'has_single_bit' is not a member of 'llvm' 330 | return llvm::has_single_bit(Value); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countLeadingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 341 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:37: error: expected primary-expression before '>' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:341:38: error: expected primary-expression before ',' token 341 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countTrailingOnes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 354 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:37: error: expected primary-expression before '>' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:354:38: error: expected primary-expression before ',' token 354 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'unsigned int llvm::countPopulation(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:22: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 364 | static_assert(std::is_unsigned_v, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:37: error: expected primary-expression before '>' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:364:38: error: expected primary-expression before ',' token 364 | static_assert(std::is_unsigned_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:366:26: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 366 | return (unsigned)llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_32(uint32_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:379:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 379 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In function 'bool llvm::isShiftedMask_64(uint64_t, unsigned int&, unsigned int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:392:19: error: 'popcount' is not a member of 'llvm'; did you mean 'popcount'? 392 | MaskLen = llvm::popcount(Value); | ^~~~~~~~ In file included from /usr/include/string.h:98, from /usr/include/g++/cstring:42, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/strings.h:57:14: note: 'popcount' declared here 57 | unsigned int popcount(unsigned int) __constfunc; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:8: error: 'optional' in namespace 'std' does not name a template type 2563 | std::optional getSizeInBits() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:3: note: 'std::optional' is only available from C++17 onwards 2563 | std::optional getSizeInBits() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:8: error: 'optional' in namespace 'std' does not name a template type 2567 | std::optional getSignedness() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:3: note: 'std::optional' is only available from C++17 onwards 2567 | std::optional getSignedness() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:8: error: 'optional' in namespace 'std' does not name a template type 2585 | std::optional getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:3: note: 'std::optional' is only available from C++17 onwards 2585 | std::optional getSource() const { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:23: error: 'is_unsigned_v' is not a member of 'std'; did you mean 'is_unsigned'? 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^~~~~~~~~~~~~ | is_unsigned /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:8: error: 'optional' in namespace 'std' does not name a template type 2647 | std::optional isConstant() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:3: note: 'std::optional' is only available from C++17 onwards 2647 | std::optional isConstant() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:38: error: template argument 1 is invalid 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:620:39: error: expected unqualified-id before ',' token 620 | std::enable_if_t, T> SaturatingAdd(T X, T Y, T Z, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:15: error: 'optional' in namespace 'std' does not name a template type 2779 | static std::optional getFragmentInfo(expr_op_iterator Start, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:10: note: 'std::optional' is only available from C++17 onwards 2779 | static std::optional getFragmentInfo(expr_op_iterator Start, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:8: error: 'optional' in namespace 'std' does not name a template type 2783 | std::optional getFragmentInfo() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:3: note: 'std::optional' is only available from C++17 onwards 2783 | std::optional getFragmentInfo() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:15: error: 'optional' in namespace 'std' does not name a template type 2820 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:10: note: 'std::optional' is only available from C++17 onwards 2820 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:15: error: 'optional' in namespace 'std' does not name a template type 2927 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:10: note: 'std::optional' is only available from C++17 onwards 2927 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIExpression::DIExpression(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2618:51: error: 'nullopt' is not a member of 'std' 2618 | : MDNode(C, DIExpressionKind, Storage, std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DIExpression::isFragment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2788:36: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'? 2788 | bool isFragment() const { return getFragmentInfo().has_value(); } | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'int llvm::DIExpression::fragmentCmp(const llvm::DIExpression*) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2965:23: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'? 2965 | auto Fragment1 = *getFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2966:30: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'? 2966 | auto Fragment2 = *Other->getFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32: required from 'llvm::DenseMap::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32: required from 'llvm::DenseMap::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3516:48: error: 'nullopt' is not a member of 'std' 3516 | ArrayRef Ops2 = std::nullopt) | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIArgList::DIArgList(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3679:48: error: 'nullopt' is not a member of 'std' 3679 | : MDNode(C, DIArgListKind, Storage, std::nullopt), | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = llvm::Use*; FuncTy = llvm::BasicBlock* (*)(llvm::Value*); ReferenceTy = llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4420:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'llvm::BasicBlock* (*)(llvm::Value*)'} to 'int' [-fpermissive] 414 | : mapped_iterator::iterator_adaptor_base(std::move(U)), F(std::move(F)) {} | ^ | | | std::remove_reference::type {aka llvm::BasicBlock* (*)(llvm::Value*)} /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = const llvm::Use*; FuncTy = const llvm::BasicBlock* (*)(const llvm::Value*); ReferenceTy = const llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4429:69: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'const llvm::BasicBlock* (*)(const llvm::Value*)'} to 'int' [-fpermissive] /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:8: error: 'optional' in namespace 'std' does not name a template type 3729 | std::optional Fragment; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:3: note: 'std::optional' is only available from C++17 onwards 3729 | std::optional Fragment; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:22: error: 'std::optional' has not been declared 3740 | std::optional FragmentInfo, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:30: error: expected ',' or '...' before '<' token 3740 | std::optional FragmentInfo, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:8: error: 'optional' in namespace 'std' does not name a template type 3751 | std::optional getFragment() const { return Fragment; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:3: note: 'std::optional' is only available from C++17 onwards 3751 | std::optional getFragment() const { return Fragment; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:24: error: class 'llvm::DebugVariable' does not have any field named 'Fragment' 3742 | : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:45: error: expected primary-expression before ')' token 3742 | : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: warning: 'llvm::DebugVariable::InlinedAt' is initialized with itself [-Winit-self] 3739 | DebugVariable(const DILocalVariable *Var, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:9: error: class 'llvm::DebugVariable' does not have any field named 'Fragment' 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:35: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'? 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:60: error: 'nullopt' is not a member of 'std' 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::DebugVariable::FragmentInfo llvm::DebugVariable::getFragmentOrDefault() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3755:12: error: 'Fragment' was not declared in this scope 3755 | return Fragment.value_or(DefaultFragment); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator==(const llvm::DebugVariable&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3763:31: error: 'Fragment' was not declared in this scope 3763 | return std::tie(Variable, Fragment, InlinedAt) == | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3764:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'? 3764 | std::tie(Other.Variable, Other.Fragment, Other.InlinedAt); | ^~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator<(const llvm::DebugVariable&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3768:31: error: 'Fragment' was not declared in this scope 3768 | return std::tie(Variable, Fragment, InlinedAt) < | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3769:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'? 3769 | std::tie(Other.Variable, Other.Fragment, Other.InlinedAt); | ^~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo::getEmptyKey()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3778:40: error: 'nullopt' is not a member of 'std' 3778 | return DebugVariable(nullptr, std::nullopt, nullptr); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo::getTombstoneKey()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3783:52: error: no matching function for call to 'llvm::DebugVariable::DebugVariable(std::nullptr_t, , std::nullptr_t)' 3783 | return DebugVariable(nullptr, {{0, 0}}, nullptr); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)' 3744 | DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:65: note: no known conversion for argument 2 from '' to 'const llvm::DIExpression*' 3744 | DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)' 3739 | DebugVariable(const DILocalVariable *Var, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate expects 2 arguments, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DbgVariableIntrinsic*)' 3737 | DebugVariable(const DbgVariableIntrinsic *DII); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(const llvm::DebugVariable&)' 3725 | class DebugVariable { | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(llvm::DebugVariable&&)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::DebugVariable&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:16: error: 'optional' in namespace 'std' does not name a template type 3788 | const std::optional Fragment = D.getFragment(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:11: note: 'std::optional' is only available from C++17 onwards 3788 | const std::optional Fragment = D.getFragment(); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3789:9: error: 'Fragment' was not declared in this scope 3789 | if (Fragment) | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:6: error: 'optional' in namespace 'std' does not name a template type 49 | std::optional convertStrToRoundingMode(StringRef); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:1: note: 'std::optional' is only available from C++17 onwards 49 | std::optional convertStrToRoundingMode(StringRef); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:6: error: 'optional' in namespace 'std' does not name a template type 53 | std::optional convertRoundingModeToStr(RoundingMode); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:1: note: 'std::optional' is only available from C++17 onwards 53 | std::optional convertRoundingModeToStr(RoundingMode); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:6: error: 'optional' in namespace 'std' does not name a template type 57 | std::optional convertStrToExceptionBehavior(StringRef); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:1: note: 'std::optional' is only available from C++17 onwards 57 | std::optional convertStrToExceptionBehavior(StringRef); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:6: error: 'optional' in namespace 'std' does not name a template type 61 | std::optional convertExceptionBehaviorToStr(fp::ExceptionBehavior); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:1: note: 'std::optional' is only available from C++17 onwards 61 | std::optional convertExceptionBehaviorToStr(fp::ExceptionBehavior); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:33, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:77:53: error: 'nullopt' is not a member of 'std' 77 | ArrayRef Tys = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:93:56: error: 'nullopt' is not a member of 'std' 93 | ArrayRef Tys = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:8: error: 'optional' in namespace 'std' does not name a template type 247 | std::optional remangleIntrinsicFunction(Function *F); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:3: note: 'std::optional' is only available from C++17 onwards 247 | std::optional remangleIntrinsicFunction(Function *F); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:8: error: 'optional' in namespace 'std' does not name a template type 317 | std::optional getFragmentSizeInBits() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:3: note: 'std::optional' is only available from C++17 onwards 317 | std::optional getFragmentSizeInBits() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:8: error: 'optional' in namespace 'std' does not name a template type 320 | std::optional getFragment() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:3: note: 'std::optional' is only available from C++17 onwards 320 | std::optional getFragment() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:15: error: 'optional' in namespace 'std' does not name a template type 492 | static std::optional getMaskParamPos(Intrinsic::ID IntrinsicID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:10: note: 'std::optional' is only available from C++17 onwards 492 | static std::optional getMaskParamPos(Intrinsic::ID IntrinsicID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:15: error: 'optional' in namespace 'std' does not name a template type 493 | static std::optional getVectorLengthParamPos( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:10: note: 'std::optional' is only available from C++17 onwards 493 | static std::optional getVectorLengthParamPos( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:15: error: 'optional' in namespace 'std' does not name a template type 524 | static std::optional getMemoryPointerParamPos(Intrinsic::ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:10: note: 'std::optional' is only available from C++17 onwards 524 | static std::optional getMemoryPointerParamPos(Intrinsic::ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:15: error: 'optional' in namespace 'std' does not name a template type 528 | static std::optional getMemoryDataParamPos(Intrinsic::ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:10: note: 'std::optional' is only available from C++17 onwards 528 | static std::optional getMemoryDataParamPos(Intrinsic::ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:8: error: 'optional' in namespace 'std' does not name a template type 539 | std::optional getFunctionalOpcode() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:3: note: 'std::optional' is only available from C++17 onwards 539 | std::optional getFunctionalOpcode() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:15: error: 'optional' in namespace 'std' does not name a template type 544 | static std::optional getFunctionalOpcodeForVP(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:10: note: 'std::optional' is only available from C++17 onwards 544 | static std::optional getFunctionalOpcodeForVP(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:15: error: 'optional' in namespace 'std' does not name a template type 555 | static std::optional getStartParamPos(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:10: note: 'std::optional' is only available from C++17 onwards 555 | static std::optional getStartParamPos(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:15: error: 'optional' in namespace 'std' does not name a template type 556 | static std::optional getVectorParamPos(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:10: note: 'std::optional' is only available from C++17 onwards 556 | static std::optional getVectorParamPos(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:8: error: 'optional' in namespace 'std' does not name a template type 606 | std::optional getRoundingMode() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:3: note: 'std::optional' is only available from C++17 onwards 606 | std::optional getRoundingMode() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:8: error: 'optional' in namespace 'std' does not name a template type 607 | std::optional getExceptionBehavior() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:3: note: 'std::optional' is only available from C++17 onwards 607 | std::optional getExceptionBehavior() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:847:35: error: return type 'struct llvm::MaybeAlign' is incomplete 847 | MaybeAlign getDestAlign() const { return getParamAlign(ARG_DEST); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:856:36: error: 'Alignment' has incomplete type 856 | void setDestAlignment(MaybeAlign Alignment) { | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:909:37: error: return type 'struct llvm::MaybeAlign' is incomplete 909 | MaybeAlign getSourceAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:919:38: error: 'Alignment' has incomplete type 919 | void setSourceAlignment(MaybeAlign Alignment) { | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion 399 | static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 2; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h: In static member function 'static void llvm::SmallVectorTemplateBase >::uninitialized_move(It1, It1, It2)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h:352:10: error: 'uninitialized_move' is not a member of 'std'; did you mean 'uninitialized_copy'? 352 | std::uninitialized_move(I, E, Dest); | ^~~~~~~~~~~~~~~~~~ | uninitialized_copy In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLFunctionalExtras.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:35: error: 'optional' in namespace 'std' does not name a template type 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:30: note: 'std::optional' is only available from C++17 onwards 46 | auto transformOptional(const std::optional &O, const Function &F) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:46:43: error: expected ',' or '...' before '<' token 46 | auto transformOptional(const std::optional &O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:13: error: 'optional' in namespace 'std' does not name a template type 47 | -> std::optional { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:8: note: 'std::optional' is only available from C++17 onwards 47 | -> std::optional { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:21: error: expected initializer before '<' token 47 | -> std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: error: 'optional' is not a member of 'std' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:29: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:39: error: expected primary-expression before '>' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:43: error: label 'O' referenced outside of any function 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:46: error: expected primary-expression before 'const' 56 | auto transformOptional(std::optional &&O, const Function &F) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:63: error: expression list treated as compound expression in initializer [-fpermissive] 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:56:64: error: expected ';' before '->' token 56 | auto transformOptional(std::optional &&O, const Function &F) | ^ | ; 57 | -> std::optional { | ~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:13, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:104:54: error: expected ')' before 'Str' 104 | /*implicit*/ constexpr StringRef(std::string_view Str) | ~ ^~~~ | ) /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:248:14: error: expected type-specifier 248 | operator std::string_view() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'size_t llvm::StringRef::find(char, size_t) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: error: 'string_view' is not a member of 'std' 296 | return std::string_view(*this).find(C, From); | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:296:19: note: 'std::string_view' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::getAsInteger(unsigned int, T&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:470:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 470 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h: In member function 'bool llvm::StringRef::consumeInteger(unsigned int, T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:499:10: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 499 | if constexpr (std::numeric_limits::is_signed) { | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:35: error: 'string_view' in namespace 'std' does not name a type 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:30: note: 'std::string_view' is only available from C++17 onwards 292 | /*implicit*/ Twine(const std::string_view &Str) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: In constructor 'llvm::Twine::Twine(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:294:34: error: request for member 'data' in 'Str', which is of non-class type 'const int' 294 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:295:37: error: request for member 'length' in 'Str', which is of non-class type 'const int' 295 | LHS.ptrAndLength.length = Str.length(); | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_node_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist_base.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/simple_ilist.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ilist.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h: In function 'decltype(auto) llvm::get(const llvm::PointerIntPair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 236 | if constexpr (I == 0) | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint16_t llvm::ByteSwap_16(uint16_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:51:60: error: 'byteswap' is not a member of 'llvm' 51 | inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint32_t llvm::ByteSwap_32(uint32_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:54:60: error: 'byteswap' is not a member of 'llvm' 54 | inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint64_t llvm::ByteSwap_64(uint64_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:57:60: error: 'byteswap' is not a member of 'llvm' 57 | inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned char llvm::sys::getSwappedBytes(unsigned char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:69:80: error: 'byteswap' is not a member of 'llvm' 69 | inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'signed char llvm::sys::getSwappedBytes(signed char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:70:80: error: 'byteswap' is not a member of 'llvm' 70 | inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'char llvm::sys::getSwappedBytes(char)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:71:80: error: 'byteswap' is not a member of 'llvm' 71 | inline char getSwappedBytes( char C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short unsigned int llvm::sys::getSwappedBytes(short unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:73:80: error: 'byteswap' is not a member of 'llvm' 73 | inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short int llvm::sys::getSwappedBytes(short int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:74:80: error: 'byteswap' is not a member of 'llvm' 74 | inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned int llvm::sys::getSwappedBytes(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:76:80: error: 'byteswap' is not a member of 'llvm' 76 | inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'int llvm::sys::getSwappedBytes(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:77:80: error: 'byteswap' is not a member of 'llvm' 77 | inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long unsigned int llvm::sys::getSwappedBytes(long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:79:80: error: 'byteswap' is not a member of 'llvm' 79 | inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long int llvm::sys::getSwappedBytes(long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:80:80: error: 'byteswap' is not a member of 'llvm' 80 | inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long unsigned int llvm::sys::getSwappedBytes(long long unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:82:80: error: 'byteswap' is not a member of 'llvm' 82 | inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long int llvm::sys::getSwappedBytes(long long int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:83:80: error: 'byteswap' is not a member of 'llvm' 83 | inline signed long long getSwappedBytes( signed long long C) { return llvm::byteswap(C); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'float llvm::sys::getSwappedBytes(float)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:91:17: error: 'byteswap' is not a member of 'llvm' 91 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'double llvm::sys::getSwappedBytes(double)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:101:17: error: 'byteswap' is not a member of 'llvm' 101 | out.i = llvm::byteswap(in.i); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'std::enable_if_t::value, T> llvm::sys::getSwappedBytes(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:108:13: error: 'byteswap' is not a member of 'llvm' 108 | llvm::byteswap(static_cast>(C))); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:55: error: 'optional' in namespace 'std' does not name a template type 127 | template hash_code hash_value(const std::optional &arg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:50: note: 'std::optional' is only available from C++17 onwards 127 | template hash_code hash_value(const std::optional &arg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:63: error: expected ',' or '...' before '<' token 127 | template hash_code hash_value(const std::optional &arg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(const std::tuple<_Tps ...>&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: error: 'apply' is not a member of 'std' 658 | return std::apply([](const auto &...xs) { return hash_combine(xs...); }, arg); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: note: 'std::apply' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:55: error: 'optional' in namespace 'std' does not name a template type 668 | template hash_code hash_value(const std::optional &arg) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:50: note: 'std::optional' is only available from C++17 onwards 668 | template hash_code hash_value(const std::optional &arg) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:63: error: expected ',' or '...' before '<' token 668 | template hash_code hash_value(const std::optional &arg) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:669:10: error: 'arg' was not declared in this scope 669 | return arg ? hash_combine(true, *arg) : hash_value(false); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:24: error: 'disjunction' in namespace 'std' does not name a template type 144 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:19: note: 'std::disjunction' is only available from C++17 onwards 144 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:26: error: 'conjunction' in namespace 'std' does not name a template type 149 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:149:21: note: 'std::conjunction' is only available from C++17 onwards 149 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:37: error: 'is_one_of' was not declared in this scope 155 | : std::integral_constant::value && | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:55: error: template argument 2 is invalid 155 | : std::integral_constant::value && | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:56: error: expected '{' before '::' token 155 | : std::integral_constant::value && | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:23: error: 'is_function_v' is not a member of 'std'; did you mean 'is_function'? 224 | bool = std::is_function_v>>> | ^~~~~~~~~~~~~ | is_function /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected primary-expression before '>>' token 224 | bool = std::is_function_v>>> | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:224:77: error: expected '>' before '>>' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:8: error: 'optional' in namespace 'std' does not name a template type 230 | std::optional Obj; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:230:3: note: 'std::optional' is only available from C++17 onwards 230 | std::optional Obj; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:23: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 232 | static_assert(!std::is_pointer_v, | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:46: error: expected primary-expression before '>' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:232:47: error: expected primary-expression before ',' token 232 | static_assert(!std::is_pointer_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' 257 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 257 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:66: error: expected unqualified-id before '=' token 257 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' 263 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:64: error: template argument 1 is invalid 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:72: error: expected unqualified-id before '=' token 263 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::callable_detail::Callable >::Callable(const T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:26: error: class 'llvm::callable_detail::Callable >' does not have any field named 'Obj' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:35: error: 'in_place' is not a member of 'std' 237 | Callable(T const &O) : Obj(std::in_place, O) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(const llvm::callable_detail::Callable >&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:5: error: 'Obj' was not declared in this scope 243 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:243:16: error: 'nullopt' is not a member of 'std' 243 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >& llvm::callable_detail::Callable >::operator=(llvm::callable_detail::Callable >&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:5: error: 'Obj' was not declared in this scope 250 | Obj = std::nullopt; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:250:16: error: 'nullopt' is not a member of 'std' 250 | Obj = std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:31: error: 'Obj' was not declared in this scope 268 | bool valid() const { return Obj != std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:268:43: error: 'nullopt' is not a member of 'std' 268 | bool valid() const { return Obj != std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable >::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:25: error: 'Obj' was not declared in this scope 269 | bool reset() { return Obj = std::nullopt; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:269:36: error: 'nullopt' is not a member of 'std' 269 | bool reset() { return Obj = std::nullopt; } | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::reference()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:271:34: error: 'Obj' was not declared in this scope 271 | operator reference() { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable >::operator llvm::callable_detail::Callable >::const_reference() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:272:46: error: 'Obj' was not declared in this scope 272 | operator const_reference() const { return *Obj; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:38: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:67: error: expected primary-expression before '>' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:278:69: error: expected primary-expression before ';' token 278 | static constexpr bool IsPtr = std::is_pointer_v>; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:284:3: error: 'StorageT' does not name a type 284 | StorageT Func = nullptr; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:13: error: 'is_same_v' is not a member of 'std'; did you mean 'is_same'? 307 | !std::is_same_v, Callable>, int | ^~~~~~~~~ | is_same /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:307:59: error: template argument 1 is invalid 307 | !std::is_same_v, Callable>, int | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:308:7: error: expected unqualified-id before '=' token 308 | > = 0 | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' 313 | std::enable_if_t, int> = 0> | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:35: error: 'is_invocable_v' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:58: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 313 | std::enable_if_t, int> = 0> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:313:66: error: expected unqualified-id before '=' token 313 | std::enable_if_t, int> = 0> | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In static member function 'static constexpr auto llvm::callable_detail::Callable::convertIn(In&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:288:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 288 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::callable_detail::Callable::valid() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:318:31: error: 'Func' was not declared in this scope 318 | bool valid() const { return Func != nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'void llvm::callable_detail::Callable::reset()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:319:18: error: 'Func' was not declared in this scope 319 | void reset() { Func = nullptr; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable::operator const T&() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:322:8: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 322 | if constexpr (IsPtr) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:324:14: error: 'Func' was not declared in this scope 324 | return Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:26: error: 'is_reference_v' is not a member of 'std'; did you mean 'is_reference'? 326 | static_assert(std::is_reference_v, | ^~~~~~~~~~~~~~ | is_reference /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:42: error: expected primary-expression before '>' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:326:43: error: expected primary-expression before ',' token 326 | static_assert(std::is_reference_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:329:15: error: 'Func' was not declared in this scope 329 | return *Func; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:423:35: error: template argument 2 is invalid 423 | callable_detail::Callable F{}; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'auto llvm::reverse(ContainerTy&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:485:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 485 | if constexpr (has_rbegin::value) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_common::test_all_equals(const llvm::detail::zip_common&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:790:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 790 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_shortest::test(const llvm::detail::zip_shortest&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:835:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 835 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:60: error: 'optional' in namespace 'std' does not name a template type 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:55: note: 'std::optional' is only available from C++17 onwards 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:927:68: error: expected initializer before '<' token 927 | auto deref_or_none(const Iter &I, const Iter &End) -> std::optional< | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:21: error: 'optional' in namespace 'std' does not name a template type 935 | using type = std::optional::test(const llvm::detail::zip_longest_iterator&, std::index_sequence) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:966:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 966 | ...); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:24: error: 'disjunction' in namespace 'std' does not name a template type 1511 | using is_one_of = std::disjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:19: note: 'std::disjunction' is only available from C++17 onwards 1511 | using is_one_of = std::disjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:26: error: 'conjunction' in namespace 'std' does not name a template type 1516 | using are_base_of = std::conjunction...>; | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1516:21: note: 'std::conjunction' is only available from C++17 onwards 1516 | using are_base_of = std::conjunction...>; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:38: error: 'conjunction' in namespace 'std' does not name a template type 1675 | using sort_trivially_copyable = std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1675:33: note: 'std::conjunction' is only available from C++17 onwards 1675 | using sort_trivially_copyable = std::conjunction< | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'void llvm::sort(IteratorTy, IteratorTy)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:25: error: 'sort_trivially_copyable' is not a member of 'llvm::detail' 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:59: error: expected primary-expression before '>' token 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:62: error: '::value' has not been declared 1684 | if constexpr (detail::sort_trivially_copyable::value) { | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'decltype(auto) llvm::detail::get(const llvm::detail::result_pair&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2173:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 2173 | if constexpr (i == 0) { | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::detail::all_of_zip_predicate_first(Predicate&&, Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: error: 'apply' is not a member of 'std' 2276 | if (!std::apply([&](auto &&...args) { return P(args...); }, *it)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: note: 'std::apply' is only available from C++17 onwards In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:26: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:27: error: invalid use of '::' 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:44: error: expected ';' at end of member declaration 70 | /*implicit*/ ArrayRef(std::nullopt_t) {} | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:33: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:34: error: invalid use of '::' 323 | /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef() {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:472:65: error: expected constructor, destructor, or type conversion before ';' token 472 | template ArrayRef(const T &OneElt) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:475:78: error: expected constructor, destructor, or type conversion before ';' token 475 | template ArrayRef(const T *data, size_t length) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:478:77: error: expected constructor, destructor, or type conversion before ';' token 478 | template ArrayRef(const T *data, const T *end) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:481:79: error: expected constructor, destructor, or type conversion before ';' token 481 | template ArrayRef(const SmallVectorImpl &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:485:56: error: expected constructor, destructor, or type conversion before ';' token 485 | ArrayRef(const SmallVector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:488:75: error: expected constructor, destructor, or type conversion before ';' token 488 | template ArrayRef(const std::vector &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:492:55: error: expected constructor, destructor, or type conversion before ';' token 492 | ArrayRef(const std::array &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:495:72: error: expected constructor, destructor, or type conversion before ';' token 495 | template ArrayRef(const ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:498:66: error: expected constructor, destructor, or type conversion before ';' token 498 | template ArrayRef(ArrayRef &Vec) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:501:77: error: expected constructor, destructor, or type conversion before ';' token 501 | template ArrayRef(const T (&Arr)[N]) -> ArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:580:70: error: expected constructor, destructor, or type conversion before ';' token 580 | template MutableArrayRef(T &OneElt) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:585:64: error: expected constructor, destructor, or type conversion before ';' token 585 | MutableArrayRef(T *data, size_t length) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:589:65: error: expected constructor, destructor, or type conversion before ';' token 589 | MutableArrayRef(SmallVectorImpl &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:592:64: error: expected constructor, destructor, or type conversion before ';' token 592 | MutableArrayRef(SmallVector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:595:80: error: expected constructor, destructor, or type conversion before ';' token 595 | template MutableArrayRef(std::vector &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:599:63: error: expected constructor, destructor, or type conversion before ';' token 599 | MutableArrayRef(std::array &Vec) -> MutableArrayRef; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:603:53: error: expected constructor, destructor, or type conversion before ';' token 603 | MutableArrayRef(T (&Arr)[N]) -> MutableArrayRef; | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' 266 | struct CastIsPossible> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:41: error: template argument 2 is invalid 266 | struct CastIsPossible> { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:45: error: expected unqualified-id before '>' token 266 | struct CastIsPossible> { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' 369 | std::optional, From, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:27: error: wrong number of template arguments (1, should be 3) 369 | std::optional, From, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:310:8: note: provided for 'template struct llvm::DefaultDoCastIfPossible' 310 | struct DefaultDoCastIfPossible { | ^~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:370:65: error: expected '{' before '>' token 370 | detail::SelfType>> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' 540 | struct CastInfo> : public OptionalValueCast { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:35: error: template argument 2 is invalid 540 | struct CastInfo> : public OptionalValueCast { | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:39: error: expected unqualified-id before '>' token 540 | struct CastInfo> : public OptionalValueCast { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:10: error: 'is_pointer_v' is not a member of 'std'; did you mean 'is_pointer'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~ | is_pointer /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:24: error: expected primary-expression before '>' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:26: error: expected primary-expression before '||' token 595 | std::is_pointer_v || std::is_constructible_v; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:34: error: 'is_constructible_v' is not a member of 'std'; did you mean 'is_constructible'? 595 | std::is_pointer_v || std::is_constructible_v; | ^~~~~~~~~~~~~~~~~~ | is_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:54: error: expected primary-expression before ',' token 595 | std::is_pointer_v || std::is_constructible_v; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' 610 | template struct ValueIsPresent> { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:59: error: template argument 1 is invalid 610 | template struct ValueIsPresent> { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:60: error: expected unqualified-id before '>' token 610 | template struct ValueIsPresent> { | ^~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected template-name before '<' token 117 | struct MaybeAlign : public std::optional { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected '{' before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:41: error: expected unqualified-id before '<' token /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:217:35: error: 'A' has incomplete type 217 | inline unsigned encode(MaybeAlign A) { return A ? A->ShiftValue + 1 : 0; } | ~~~~~~~~~~~^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:50: error: return type 'struct llvm::MaybeAlign' is incomplete 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:220:19: error: ambiguating new declaration of 'void llvm::decodeMaybeAlign(unsigned int)' 220 | inline MaybeAlign decodeMaybeAlign(unsigned Value) { | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:53:28: note: old declaration 'llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)' 53 | friend struct MaybeAlign decodeMaybeAlign(unsigned Value); | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'void llvm::decodeMaybeAlign(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:222:23: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 222 | return MaybeAlign(); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:224:7: error: 'uint8_t llvm::Align::ShiftValue' is private within this context 224 | Out.ShiftValue = Value - 1; | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:41:11: note: declared private here 41 | uint8_t ShiftValue = 0; /// The log2 of the required alignment. | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'unsigned int llvm::encode(llvm::Align)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:230:61: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 230 | inline unsigned encode(Align A) { return encode(MaybeAlign(A)); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:295:35: error: 'Lhs' has incomplete type 295 | inline bool operator==(MaybeAlign Lhs, Align Rhs) { return Lhs && *Lhs == Rhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:296:35: error: 'Lhs' has incomplete type 296 | inline bool operator!=(MaybeAlign Lhs, Align Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:297:46: error: 'Rhs' has incomplete type 297 | inline bool operator==(Align Lhs, MaybeAlign Rhs) { return Rhs == Lhs; } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:298:46: error: 'Rhs' has incomplete type 298 | inline bool operator!=(Align Lhs, MaybeAlign Rhs) { return !(Rhs == Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:35: error: 'Lhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:300:51: error: 'Rhs' has incomplete type 300 | inline bool operator==(MaybeAlign Lhs, MaybeAlign Rhs) { | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:35: error: 'Lhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:303:51: error: 'Rhs' has incomplete type 303 | inline bool operator!=(MaybeAlign Lhs, MaybeAlign Rhs) { return !(Lhs == Rhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:45: error: 'std::nullopt_t' has not been declared 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:305:35: error: 'Lhs' has incomplete type 305 | inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:45: error: 'std::nullopt_t' has not been declared 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:306:35: error: 'Lhs' has incomplete type 306 | inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); } | ~~~~~~~~~~~^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:13: error: declaration of 'operator==' as non-function 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:51: error: expected primary-expression before 'Rhs' 307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:13: error: declaration of 'operator!=' as non-function 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:51: error: expected primary-expression before 'Rhs' 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:27, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:46: error: 'std::optional' has not been declared 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:54: error: expected ',' or '...' before '<' token 208 | void setDiagnosticsMisExpectTolerance(std::optional Tolerance); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:44: error: 'std::optional' has not been declared 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:52: error: expected ',' or '...' before '<' token 225 | void setDiagnosticsHotnessThreshold(std::optional Threshold); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32: required from 'llvm::DenseMap::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32: required from 'llvm::DenseMap::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:223:60: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, long long unsigned int>, 4>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:289:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:843:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1058:70: error: 'nullopt' is not a member of 'std' 1058 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::MutableArrayRef llvm::MDNode::Header::operands()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1030:29: error: missing template arguments before '(' token 1030 | return MutableArrayRef( | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::ArrayRef llvm::MDNode::Header::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:1037:22: error: missing template arguments before '(' token 1037 | return ArrayRef(reinterpret_cast(this) - SmallSize, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:327:45: error: 'nullopt' is not a member of 'std' 327 | return dropUnknownNonDebugMetadata(std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:330:48: error: missing template arguments before '(' token 330 | return dropUnknownNonDebugMetadata(ArrayRef(ID1)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:8: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:3: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getIrrLoopHeaderWeight() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:15: error: 'optional' in namespace 'std' does not name a template type 66 | inline std::optional getLevel(IDType ID) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:10: note: 'std::optional' is only available from C++17 onwards 66 | inline std::optional getLevel(IDType ID) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:15: error: 'optional' in namespace 'std' does not name a template type 74 | inline std::optional parseLevel(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:74:10: note: 'std::optional' is only available from C++17 onwards 74 | inline std::optional parseLevel(char C) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:18: error: 'optional' in namespace 'std' does not name a template type 141 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:13: note: 'std::optional' is only available from C++17 onwards 141 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:26: error: expected ',' or '...' before '<' token 141 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' 234 | std::pair> getAllocSizeArgs() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:45: error: template argument 2 is invalid 234 | std::pair> getAllocSizeArgs() const; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:8: error: 'optional' in namespace 'std' does not name a template type 241 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:3: note: 'std::optional' is only available from C++17 onwards 241 | std::optional getVScaleRangeMax() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:8: error: 'optional' in namespace 'std' does not name a template type 379 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:379:3: note: 'std::optional' is only available from C++17 onwards 379 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:8: error: 'optional' in namespace 'std' does not name a template type 382 | std::optional getVScaleRangeMax() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:382:3: note: 'std::optional' is only available from C++17 onwards 382 | std::optional getVScaleRangeMax() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:36: error: 'optional' in namespace 'std' does not name a template type 735 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:31: note: 'std::optional' is only available from C++17 onwards 735 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:44: error: expected ',' or '...' before '<' token 735 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:8: error: 'optional' in namespace 'std' does not name a template type 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1111:3: note: 'std::optional' is only available from C++17 onwards 1111 | std::optional getRawIntAttr(Attribute::AttrKind Kind) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional>> getAllocSizeArgs() | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional>> getAllocSizeArgs() | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:44: error: 'optional' in namespace 'std' does not name a template type 1197 | const std::optional &NumElemsArg); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:39: note: 'std::optional' is only available from C++17 onwards 1197 | const std::optional &NumElemsArg); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:52: error: expected ',' or '...' before '<' token 1197 | const std::optional &NumElemsArg); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:40: error: 'std::optional' has not been declared 1201 | std::optional MaxValue); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:48: error: expected ',' or '...' before '<' token 1201 | std::optional MaxValue); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1114:35: error: return type 'struct llvm::MaybeAlign' is incomplete 1114 | MaybeAlign getAlignment() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:70: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1115 | return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1119:40: error: return type 'struct llvm::MaybeAlign' is incomplete 1119 | MaybeAlign getStackAlignment() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getStackAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:75: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1120 | return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1126:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1126 | return getRawIntAttr(Attribute::Dereferenceable).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableOrNullBytes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1132:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'? 1132 | return getRawIntAttr(Attribute::DereferenceableOrNull).value_or(0); | ^~~~~~~~~~~~~ | addRawIntAttr /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1172:45: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1172 | return addAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addStackAlignmentAttr(unsigned int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1184:50: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1184 | return addStackAlignmentAttr(MaybeAlign(Align)); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:38: error: 'string_view' in namespace 'std' does not name a type 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:33: note: 'std::string_view' is only available from C++17 onwards 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In member function 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:22: error: request for member 'data' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:34: error: request for member 'length' in 'Str', which is of non-class type 'const int' 253 | return write(Str.data(), Str.length()); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:16: error: 'optional' in namespace 'std' does not name a template type 459 | mutable std::optional HasColors; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:11: note: 'std::optional' is only available from C++17 onwards 459 | mutable std::optional HasColors; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:47: error: 'std::nullopt_t' has not been declared 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:53: error: 'optional' in namespace 'std' does not name a template type 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:48: note: 'std::optional' is only available from C++17 onwards 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:61: error: expected ',' or '...' before '<' token 761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional &O) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In function 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:762:7: error: 'O' was not declared in this scope; did you mean 'OS'? 762 | if (O) | ^ | OS /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:765:16: error: 'nullopt' is not a member of 'std' 765 | OS << std::nullopt; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h: In member function 'llvm::ArrayRef llvm::Type::subtypes() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:355:20: error: missing template arguments before '(' token 355 | return ArrayRef(subtype_begin(), subtype_end()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::FunctionType::params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:131:20: error: missing template arguments before '(' token 131 | return ArrayRef(param_begin(), param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:27: error: 'are_base_of' was not declared in this scope 245 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 245 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:59: error: expected ';' before ',' token 245 | static std::enable_if_t::value, StructType *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:27: error: 'are_base_of' was not declared in this scope 262 | static std::enable_if_t::value, StructType *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:51: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 262 | static std::enable_if_t::value, StructType *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:59: error: expected ';' before ',' token 262 | static std::enable_if_t::value, StructType *> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:267:3: error: redeclaration of 'template int llvm::StructType::value' 267 | } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:54: note: previous declaration 'template int llvm::StructType::value' 245 | static std::enable_if_t::value, StructType *> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:20: error: 'are_base_of' was not declared in this scope 305 | std::enable_if_t::value, void> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:44: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 305 | std::enable_if_t::value, void> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:52: error: expected ';' before ',' token 305 | std::enable_if_t::value, void> | ^ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:305:47: error: data member 'value' cannot be a member template 305 | std::enable_if_t::value, void> | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::StructType::elements() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:320:20: error: missing template arguments before '(' token 320 | return ArrayRef(element_begin(), element_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:754:59: error: 'nullopt' is not a member of 'std' 754 | ArrayRef Types = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:755:60: error: 'nullopt' is not a member of 'std' 755 | ArrayRef Ints = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::type_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:765:20: error: missing template arguments before '(' token 765 | return ArrayRef(type_param_begin(), type_param_end()); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef llvm::TargetExtType::int_params() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:780:20: error: missing template arguments before '(' token 780 | return ArrayRef(IntParams, getNumIntParameters()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:8: error: 'optional' in namespace 'std' does not name a template type 642 | std::optional getAbsoluteSymbolRange() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:3: note: 'std::optional' is only available from C++17 onwards 642 | std::optional getAbsoluteSymbolRange() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'uint64_t llvm::GlobalObject::getAlignment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:16: error: variable 'llvm::MaybeAlign Align' has initializer but incomplete type 71 | MaybeAlign Align = getAlign(); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:33: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 71 | MaybeAlign Align = getAlign(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:79:31: error: return type 'struct llvm::MaybeAlign' is incomplete 79 | MaybeAlign getAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'void llvm::GlobalObject::getAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:82:12: error: 'decodeMaybeAlign' was not declared in this scope 82 | return decodeMaybeAlign(AlignmentData); | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:8: error: 'optional' in namespace 'std' does not name a template type 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:282:3: note: 'std::optional' is only available from C++17 onwards 282 | std::optional getEntryCount(bool AllowSynthetic = false) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:8: error: 'optional' in namespace 'std' does not name a template type 301 | std::optional getSectionPrefix() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:301:3: note: 'std::optional' is only available from C++17 onwards 301 | std::optional getSectionPrefix() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'bool llvm::Function::hasProfileData(bool) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:290:12: error: 'getEntryCount' was not declared in this scope; did you mean 'setEntryCount'? 290 | return getEntryCount(IncludeSynthetic).has_value(); | ^~~~~~~~~~~~~ | setEntryCount /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:425:38: error: return type 'struct llvm::MaybeAlign' is incomplete 425 | MaybeAlign getFnStackAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getFnStackAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:426:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 426 | return AttributeSets.getFnStackAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:440:50: error: return type 'struct llvm::MaybeAlign' is incomplete 440 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:441:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 441 | return AttributeSets.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:444:55: error: return type 'struct llvm::MaybeAlign' is incomplete 444 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:445:54: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 445 | return AttributeSets.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h: In instantiation of 'void llvm::PassInstrumentation::runBeforeAnalysis(const PassT&, const IRUnitT&) const [with IRUnitT = polly::Scop; PassT = llvm::detail::AnalysisPassConcept::Invalidator, polly::ScopStandardAnalysisResults&>]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManagerImpl.h:69:27: required from 'llvm::AnalysisManager::ResultConceptT& llvm::AnalysisManager::getResultImpl(llvm::AnalysisKey*, IRUnitT&, ExtraArgTs ...) [with IRUnitT = polly::Scop; ExtraArgTs = {polly::ScopStandardAnalysisResults&}; llvm::AnalysisManager::ResultConceptT = llvm::detail::AnalysisResultConcept::Invalidator>]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:778:9: required from 'typename PassT::Result& llvm::AnalysisManager::getResult(IRUnitT&, ExtraArgTs ...) [with PassT = polly::DependenceAnalysis; IRUnitT = polly::Scop; ExtraArgTs = {polly::ScopStandardAnalysisResults&}; typename PassT::Result = polly::DependenceAnalysis::Result]' /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:868:54: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:278:34: error: no matching function for call to 'llvm::Any::Any(const polly::Scop*)' 278 | C(Analysis.name(), llvm::Any(&IR)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:93:3: note: candidate: 'llvm::Any::Any(llvm::Any&&)' 93 | Any(Any &&Other) : Storage(std::move(Other.Storage)) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:93:13: note: no known conversion for argument 1 from 'const polly::Scop*' to 'llvm::Any&&' 93 | Any(Any &&Other) : Storage(std::move(Other.Storage)) {} | ~~~~~~^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:65:3: note: candidate: 'llvm::Any::Any(const llvm::Any&)' 65 | Any(const Any &Other) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:65:18: note: no known conversion for argument 1 from 'const polly::Scop*' to 'const llvm::Any&' 65 | Any(const Any &Other) | ~~~~~~~~~~~^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:63:3: note: candidate: 'constexpr llvm::Any::Any()' 63 | Any() = default; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:63:3: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h: In instantiation of 'void llvm::PassInstrumentation::runAfterAnalysis(const PassT&, const IRUnitT&) const [with IRUnitT = polly::Scop; PassT = llvm::detail::AnalysisPassConcept::Invalidator, polly::ScopStandardAnalysisResults&>]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManagerImpl.h:75:24: required from 'llvm::AnalysisManager::ResultConceptT& llvm::AnalysisManager::getResultImpl(llvm::AnalysisKey*, IRUnitT&, ExtraArgTs ...) [with IRUnitT = polly::Scop; ExtraArgTs = {polly::ScopStandardAnalysisResults&}; llvm::AnalysisManager::ResultConceptT = llvm::detail::AnalysisResultConcept::Invalidator>]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:778:9: required from 'typename PassT::Result& llvm::AnalysisManager::getResult(IRUnitT&, ExtraArgTs ...) [with PassT = polly::DependenceAnalysis; IRUnitT = polly::Scop; ExtraArgTs = {polly::ScopStandardAnalysisResults&}; typename PassT::Result = polly::DependenceAnalysis::Result]' /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:868:54: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:287:34: error: no matching function for call to 'llvm::Any::Any(const polly::Scop*)' 287 | C(Analysis.name(), llvm::Any(&IR)); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:93:3: note: candidate: 'llvm::Any::Any(llvm::Any&&)' 93 | Any(Any &&Other) : Storage(std::move(Other.Storage)) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:93:13: note: no known conversion for argument 1 from 'const polly::Scop*' to 'llvm::Any&&' 93 | Any(Any &&Other) : Storage(std::move(Other.Storage)) {} | ~~~~~~^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:65:3: note: candidate: 'llvm::Any::Any(const llvm::Any&)' 65 | Any(const Any &Other) | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:65:18: note: no known conversion for argument 1 from 'const polly::Scop*' to 'const llvm::Any&' 65 | Any(const Any &Other) | ~~~~~~~~~~~^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:63:3: note: candidate: 'constexpr llvm::Any::Any()' 63 | Any() = default; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:63:3: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:12: error: 'is_integral_v' is not a member of 'std'; did you mean 'is_integral'? 42 | std::is_integral_v, | ^~~~~~~~~~~~~ | is_integral /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:55: error: expected '(' before '>' token 42 | std::is_integral_v, | ^ | ( /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:56: error: expected primary-expression before ',' token 42 | std::is_integral_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: In member function 'ValueT llvm::MapVector::lookup(const KeyT&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:24: error: 'is_copy_constructible_v' is not a member of 'std'; did you mean 'is_copy_constructible'? 112 | static_assert(std::is_copy_constructible_v, | ^~~~~~~~~~~~~~~~~~~~~~~ | is_copy_constructible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:54: error: expected primary-expression before '>' token 112 | static_assert(std::is_copy_constructible_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:112:55: error: expected primary-expression before ',' token 112 | static_assert(std::is_copy_constructible_v, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h:107:1: warning: inline variables are only available with '-std=c++17' or '-std=gnu++17' 107 | inline constexpr force_iteration_on_noniterable_enum_t | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'? 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^~~~~~~~~ | nullptr_t /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:43: error: template argument 1 is invalid 88 | class StringMapEntryStorage : public StringMapEntryBase { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h: In function 'decltype(auto) llvm::get(const llvm::StringMapEntry&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:155:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17' 155 | if constexpr (Index == 0) | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:8: error: 'optional' in namespace 'std' does not name a template type 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:3: note: 'std::optional' is only available from C++17 onwards 2027 | std::optional getOperandBundle(StringRef Name) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:8: error: 'optional' in namespace 'std' does not name a template type 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2043:3: note: 'std::optional' is only available from C++17 onwards 2043 | std::optional getOperandBundle(uint32_t ID) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1743:34: error: return type 'struct llvm::MaybeAlign' is incomplete 1743 | MaybeAlign getRetAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getRetAlign() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1744:44: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1744 | if (auto Align = Attrs.getRetAlignment()) | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1747:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1747 | return F->getAttributes().getRetAlignment(); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1748:17: error: 'nullopt' is not a member of 'std' 1748 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1752:50: error: return type 'struct llvm::MaybeAlign' is incomplete 1752 | MaybeAlign getParamAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1753:41: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1753 | return Attrs.getParamAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1756:55: error: return type 'struct llvm::MaybeAlign' is incomplete 1756 | MaybeAlign getParamStackAlign(unsigned ArgNo) const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getParamStackAlign(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1757:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 1757 | return Attrs.getParamStackAlignment(ArgNo); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:8: error: 'optional' in namespace 'std' does not name a template type 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:111:3: note: 'std::optional' is only available from C++17 onwards 111 | std::optional getAllocationSize(const DataLayout &DL) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:8: error: 'optional' in namespace 'std' does not name a template type 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:115:3: note: 'std::optional' is only available from C++17 onwards 115 | std::optional getAllocationSizeInBits(const DataLayout &DL) const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1541:69: error: 'nullopt' is not a member of 'std' 1541 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1581:69: error: 'nullopt' is not a member of 'std' 1581 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1642:58: error: 'nullopt' is not a member of 'std' 1642 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1647:58: error: 'nullopt' is not a member of 'std' 1647 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In constructor 'llvm::CallInst::CallInst(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1496:39: error: 'nullopt' is not a member of 'std' 1496 | : CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore) {} | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1537:39: error: 'nullopt' is not a member of 'std' 1537 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1560:39: error: 'nullopt' is not a member of 'std' 1560 | CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertAtEnd); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:8: error: 'optional' in namespace 'std' does not name a template type 3627 | std::optional> Weights; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:3: note: 'std::optional' is only available from C++17 onwards 3627 | std::optional> Weights; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:30: error: 'optional' in namespace 'std' does not name a template type 3636 | using CaseWeightOpt = std::optional; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3636:25: note: 'std::optional' is only available from C++17 onwards 3636 | using CaseWeightOpt = std::optional; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3654:54: error: 'CaseWeightOpt' has not been declared 3654 | void addCase(ConstantInt *OnVal, BasicBlock *Dest, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3660:41: error: 'CaseWeightOpt' has not been declared 3660 | void setSuccessorWeight(unsigned idx, CaseWeightOpt W); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3661:3: error: 'CaseWeightOpt' does not name a type 3661 | CaseWeightOpt getSuccessorWeight(unsigned idx); | ^~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion 399 | static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 2; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3663:10: error: 'CaseWeightOpt' does not name a type 3663 | static CaseWeightOpt getSuccessorWeight(const SwitchInst &SI, unsigned idx); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3870:71: error: 'nullopt' is not a member of 'std' 3870 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3914:71: error: 'nullopt' is not a member of 'std' 3914 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3864:64: error: 'nullopt' is not a member of 'std' 3864 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3887:64: error: 'nullopt' is not a member of 'std' 3887 | InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt, | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionCallee, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3909:43: error: 'nullopt' is not a member of 'std' 3909 | IfException, Args, std::nullopt, NameStr, InsertBefore); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4077:52: error: 'nullopt' is not a member of 'std' 4077 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4125:71: error: 'nullopt' is not a member of 'std' 4125 | ArrayRef Bundles = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4070:69: error: 'nullopt' is not a member of 'std' 4070 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4095:69: error: 'nullopt' is not a member of 'std' 4095 | CallBrInst(Ty, Func, DefaultDest, IndirectDests, Args, std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4506:63: error: 'nullopt' is not a member of 'std' 4506 | ArrayRef Args = std::nullopt, | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:13: error: 'optional' in namespace 'std' does not name a template type 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:8: note: 'std::optional' is only available from C++17 onwards 5418 | inline std::optional getAtomicSyncScopeID(const Instruction *I) { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:44, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::ArrayRef() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:138:19: error: 'nullopt' is not a member of 'std' 138 | return std::nullopt; | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector::operator llvm::MutableArrayRef()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:147:19: error: 'nullopt' is not a member of 'std' 147 | return std::nullopt; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:8: error: 'optional' in namespace 'std' does not name a template type 1506 | std::optional tryZExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1506:3: note: 'std::optional' is only available from C++17 onwards 1506 | std::optional tryZExtValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:8: error: 'optional' in namespace 'std' does not name a template type 1528 | std::optional trySExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1528:3: note: 'std::optional' is only available from C++17 onwards 1528 | std::optional trySExtValue() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: In member function 'unsigned int llvm::APInt::countPopulation() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:1621:20: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 1621 | return llvm::popcount(U.VAL); | ^~~~~~~~ | count /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:6: error: 'optional' in namespace 'std' does not name a template type 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2279:1: note: 'std::optional' is only available from C++17 onwards 2279 | std::optional SolveQuadraticEquationWrap(APInt A, APInt B, APInt C, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:6: error: 'optional' in namespace 'std' does not name a template type 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APInt.h:2284:1: note: 'std::optional' is only available from C++17 onwards 2284 | std::optional GetMostSignificantDifferentBit(const APInt &A, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:127:14: error: field 'StackNaturalAlign' has incomplete type 'llvm::MaybeAlign' 127 | MaybeAlign StackNaturalAlign; | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:131:14: error: field 'FunctionPtrAlign' has incomplete type 'llvm::MaybeAlign' 131 | MaybeAlign FunctionPtrAlign; | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:8: error: 'optional' in namespace 'std' does not name a template type 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:3: note: 'std::optional' is only available from C++17 onwards 601 | std::optional getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:288:42: error: return type 'struct llvm::MaybeAlign' is incomplete 288 | MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:534:54: error: 'Alignment' has incomplete type 534 | inline Align getValueOrABITypeAlignment(MaybeAlign Alignment, | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::MutableArrayRef llvm::StructLayout::getMemberOffsets()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:33: error: missing template arguments before '(' token 647 | return llvm::MutableArrayRef(getTrailingObjects(), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::ArrayRef llvm::StructLayout::getMemberOffsets() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:652:26: error: missing template arguments before '(' token 652 | return llvm::ArrayRef(getTrailingObjects(), NumElements); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:28, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:23: error: 'std::optional' has not been declared 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:31: error: expected ',' or '...' before '<' token 62 | std::optional AddressSpace = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:18: error: default argument missing for parameter 9 of 'llvm::GlobalVariable::GlobalVariable(llvm::Module&, llvm::Type*, bool, llvm::GlobalValue::LinkageTypes, llvm::Constant*, const llvm::Twine&, llvm::GlobalVariable*, llvm::GlobalValue::ThreadLocalMode, int)' 62 | std::optional AddressSpace = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:59:54: note: ...following parameter 6 which has a default argument 59 | Constant *Initializer, const Twine &Name = "", | ~~~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:8: error: 'optional' in namespace 'std' does not name a template type 866 | std::optional getCodeModel() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:866:3: note: 'std::optional' is only available from C++17 onwards 866 | std::optional getCodeModel() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleIdentifier(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:291:69: note: candidate expects 3 arguments, 1 provided 291 | void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setSourceFileName(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: note: candidate expects 3 arguments, 1 provided 294 | void setSourceFileName(StringRef Name) { SourceFileName = std::string(Name); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setTargetTriple(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:301:67: note: candidate expects 3 arguments, 1 provided 301 | void setTargetTriple(StringRef T) { TargetTriple = std::string(T); } | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleInlineAsm(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: note: candidate expects 3 arguments, 1 provided 306 | GlobalScopeAsm = std::string(Asm); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' 73 | std::conjunction< | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: error: 'negation' is not a member of 'std' 74 | std::negation, Any>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: note: 'std::negation' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:68: error: template argument 1 is invalid 74 | std::negation, Any>>, | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:26: error: 'std::negation' has not been declared 85 | std::negation>>, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:34: error: expected '>' before '<' token 85 | std::negation>>, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:86:67: error: 'value' in namespace '::' does not name a type 86 | std::is_copy_constructible>>::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std' 68 | using EnableIfCallable = std::enable_if_t>::value>; | ^~ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/type_traits:2554:11: note: provided for 'template using enable_if_t = typename std::enable_if::type' 2554 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; | ^~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:15: error: 'llvm::detail::EnableIfCallable' has not been declared 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:31: error: expected ',' or '...' before '<' token 378 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 378 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:377:7: note: ...following parameter 2 which has a default argument 377 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:15: error: 'llvm::detail::EnableIfCallable' has not been declared 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:31: error: expected ',' or '...' before '<' token 404 | detail::EnableIfCallable * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:7: error: default argument missing for parameter 3 of 'llvm::unique_function::unique_function(CallableT, llvm::detail::EnableUnlessSameType >*, int)' 404 | detail::EnableIfCallable * = nullptr) | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:403:7: note: ...following parameter 2 which has a default argument 403 | detail::EnableUnlessSameType * = nullptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:6: error: 'optional' in namespace 'std' does not name a template type 526 | std::optional findMetadataOperand(llvm::MDNode *LoopMD, | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:1: note: 'std::optional' is only available from C++17 onwards 526 | std::optional findMetadataOperand(llvm::MDNode *LoopMD, | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:6: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getOptionalIntLoopAttribute(llvm::MDNode *LoopID, | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:1: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getOptionalIntLoopAttribute(llvm::MDNode *LoopID, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:43, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:15: error: 'optional' in namespace 'std' does not name a template type 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:10: note: 'std::optional' is only available from C++17 onwards 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:15: error: 'optional' in namespace 'std' does not name a template type 258 | static std::optional getForDest(const CallBase *CI, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:10: note: 'std::optional' is only available from C++17 onwards 258 | static std::optional getForDest(const CallBase *CI, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h: In static member function 'static llvm::MemoryLocation llvm::MemoryLocation::get(const llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:244:29: error: 'getOrNone' is not a member of 'llvm::MemoryLocation' 244 | return *MemoryLocation::getOrNone(Inst); | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:8: error: 'optional' in namespace 'std' does not name a template type 103 | std::optional tryExtValue() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APSInt.h:103:3: note: 'std::optional' is only available from C++17 onwards 103 | std::optional tryExtValue() const { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:164:41: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::AAQueryInfo::CacheEntry, 8>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:259:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'std::string llvm::toString(const llvm::APInt&, unsigned int, bool, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef)' 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: note: candidate expects 3 arguments, 1 provided 322 | return std::string(S.str()); | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'size_t llvm::detail::join_items_size(Args&& ...)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:455:65: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17' 455 | return (0 + ... + join_one_item_size(std::forward(Items))); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:22: error: 'is_scalar_v' is not a member of 'std'; did you mean 'is_scalar'? 83 | static_assert(std::is_scalar_v, | ^~~~~~~~~~~ | is_scalar /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:37: error: expected primary-expression before '>' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:38: error: expected primary-expression before ',' token 83 | static_assert(std::is_scalar_v, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:8: error: 'optional' in namespace 'std' does not name a template type 219 | std::optional FirstByteOffset; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:3: note: 'std::optional' is only available from C++17 onwards 219 | std::optional FirstByteOffset; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:57: error: 'std::optional' has not been declared 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:65: error: expected ',' or '...' before '<' token 228 | FormattedBytes(ArrayRef B, uint32_t IL, std::optional O, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In constructor 'llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:19: error: class 'llvm::FormattedBytes' does not have any field named 'FirstByteOffset' 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:35: error: 'O' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:230:67: error: 'NPL' was not declared in this scope 230 | : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL), | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:23: error: 'BGS' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:35: error: 'U' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:231:45: error: 'A' was not declared in this scope 231 | ByteGroupSize(BGS), Upper(U), ASCII(A) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:19: error: 'std::optional' has not been declared 240 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:27: error: expected ',' or '...' before '<' token 240 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:32: error: 'IndentLevel' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:45: error: 'FirstByteOffset' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:243:62: error: 'NumPerLine' was not declared in this scope 243 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:39: error: 'optional' in namespace 'std' does not name a template type 498 | const std::optional &OptLoc) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:34: note: 'std::optional' is only available from C++17 onwards 498 | const std::optional &OptLoc) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:47: error: expected ',' or '...' before '<' token 498 | const std::optional &OptLoc) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:39: error: 'optional' in namespace 'std' does not name a template type 592 | const std::optional &OptLoc, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:34: note: 'std::optional' is only available from C++17 onwards 592 | const std::optional &OptLoc, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:47: error: expected ',' or '...' before '<' token 592 | const std::optional &OptLoc, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:591:14: error: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' cannot be overloaded with 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 591 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: previous declaration 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 497 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:25: error: 'ByteGroupSize' was not declared in this scope 244 | ByteGroupSize, Upper, false); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:244:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 244 | ByteGroupSize, Upper, false); | ^~~~~ | toUpper /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:30: error: 'std::optional' has not been declared 249 | std::optional FirstByteOffset = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token 249 | std::optional FirstByteOffset = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes_with_ascii(llvm::ArrayRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:32: error: 'IndentLevel' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:500:29: error: 'OptLoc' was not declared in this scope 500 | return getModRefInfo(I, OptLoc, AAQIP); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:506:52: error: no matching function for call to 'llvm::AAResults::getModRefInfo(const llvm::Instruction*&, llvm::MemoryLocation)' 506 | return getModRefInfo(I, MemoryLocation(P, Size)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 497 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:28: note: no known conversion for argument 2 from 'llvm::MemoryLocation' to 'int' 498 | const std::optional &OptLoc) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)' 504 | ModRefInfo getModRefInfo(const Instruction *I, const Value *P, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*)' 511 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:66: note: no known conversion for argument 2 from 'llvm::MemoryLocation' to 'const llvm::CallBase*' 511 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call); | ~~~~~~~~~~~~~~~~^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*, llvm::AAQueryInfo&)' 569 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call2, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 571 | ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::CallBase*, llvm::AAQueryInfo&)' 573 | ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::VAArgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 575 | ModRefInfo getModRefInfo(const VAArgInst *V, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::LoadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 577 | ModRefInfo getModRefInfo(const LoadInst *L, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::StoreInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 579 | ModRefInfo getModRefInfo(const StoreInst *S, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::FenceInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 581 | ModRefInfo getModRefInfo(const FenceInst *S, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicCmpXchgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 583 | ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicRMWInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 585 | ModRefInfo getModRefInfo(const AtomicRMWInst *RMW, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchPadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 587 | ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchReturnInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 589 | ModRefInfo getModRefInfo(const CatchReturnInst *I, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:39: error: 'optional' in namespace 'std' does not name a template type 641 | const std::optional &OptLoc) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:34: note: 'std::optional' is only available from C++17 onwards 641 | const std::optional &OptLoc) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:47: error: expected ',' or '...' before '<' token 641 | const std::optional &OptLoc) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:45: error: 'FirstByteOffset' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::BatchAAResults::getModRefInfo(const llvm::Instruction*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:642:32: error: 'OptLoc' was not declared in this scope 642 | return AA.getModRefInfo(I, OptLoc, AAQI); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:252:62: error: 'NumPerLine' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:25: error: 'ByteGroupSize' was not declared in this scope 253 | ByteGroupSize, Upper, true); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:253:40: error: 'Upper' was not declared in this scope; did you mean 'toUpper'? 253 | ByteGroupSize, Upper, true); | ^~~~~ | toUpper In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:40, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' 100 | using StackElement = std::pair>; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:57: error: template argument 2 is invalid 100 | using StackElement = std::pair>; | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:59: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:15: error: 'StackElement' was not declared in this scope 103 | std::vector VisitStack; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 1 is invalid 103 | std::vector VisitStack; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 2 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:16: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:50: error: 'nullopt' is not a member of 'std' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef, SetType&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:18: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:52: error: 'nullopt' is not a member of 'std' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'void llvm::df_iterator::toNext()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:125:33: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 125 | NodeRef Node = VisitStack.back().first; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: error: 'optional' is not a member of 'std' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:30: error: expected primary-expression before '>' token 126 | std::optional &Opt = VisitStack.back().second; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:60: error: template argument 1 is invalid 512 | std::enable_if_t> * = nullptr) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:17: error: 'std::enable_if_t' is not a type 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:512:28: error: expected ',' or '...' before '<' token 512 | std::enable_if_t> * = nullptr) | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:33: error: 'Opt' was not declared in this scope 126 | std::optional &Opt = VisitStack.back().second; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:50: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:22: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:59: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:56: error: 'nullopt' is not a member of 'std' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:146:18: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 146 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:147:26: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 147 | } while (!VisitStack.empty()); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'const NodeRef& llvm::df_iterator::operator*() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:168:56: error: request for member 'back' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 168 | const NodeRef &operator*() const { return VisitStack.back().first; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator& llvm::df_iterator::skipChildren()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:186:16: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 186 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:187:21: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 187 | if (!VisitStack.empty()) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'unsigned int llvm::df_iterator::getPathLength() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:208:54: error: request for member 'size' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 208 | unsigned getPathLength() const { return VisitStack.size(); } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator::NodeRef llvm::df_iterator::getPath(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:212:56: error: invalid types 'const int[unsigned int]' for array subscript 212 | NodeRef getPath(unsigned n) const { return VisitStack[n].first; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:60: error: template argument 1 is invalid 530 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:17: error: 'std::enable_if_t' is not a type 530 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:530:28: error: expected ',' or '...' before '<' token 530 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:55: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:30: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~~~~~~ | is_convertible /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:46: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:56: error: template argument 1 is invalid 539 | std::enable_if_t> * = nullptr) { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:12: error: 'std::enable_if_t' is not a type 539 | std::enable_if_t> * = nullptr) { | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:539:23: error: expected ',' or '...' before '<' token 539 | std::enable_if_t> * = nullptr) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:537:12: error: 'template template llvm::Expected::Expected(llvm::Expected&&, int)' cannot be overloaded with 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 537 | explicit Expected( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:529:3: note: previous declaration 'template template llvm::Expected::Expected(llvm::Expected&&, int)' 529 | Expected(Expected &&Other, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:28: error: 'optional' in namespace 'std' does not name a template type 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:23: note: 'std::optional' is only available from C++17 onwards 1054 | template std::optional expectedToOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:28: error: 'optional' in namespace 'std' does not name a template type 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1061:23: note: 'std::optional' is only available from C++17 onwards 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:34: error: 'std::optional' has not been declared 1301 | FileError(const Twine &F, std::optional LineNum, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1301:42: error: expected ',' or '...' before '<' token 1301 | FileError(const Twine &F, std::optional LineNum, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:43: error: 'std::optional' has not been declared 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1309:51: error: expected ',' or '...' before '<' token 1309 | static Error build(const Twine &F, std::optional Line, Error E) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:8: error: 'optional' in namespace 'std' does not name a template type 1321 | std::optional Line; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1321:3: note: 'std::optional' is only available from C++17 onwards 1321 | std::optional Line; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In member function 'virtual void llvm::FileError::log(llvm::raw_ostream&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1279:9: error: 'Line' was not declared in this scope 1279 | if (Line) | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In constructor 'llvm::FileError::FileError(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1305:21: error: 'E' was not declared in this scope 1305 | Err = std::move(E); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:5: error: 'Line' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:22: error: 'LineNum' was not declared in this scope 1306 | Line = std::move(LineNum); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In static member function 'static llvm::Error llvm::FileError::build(const llvm::Twine&, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1311:31: error: 'E' was not declared in this scope 1311 | handleAllErrors(std::move(E), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1317:53: error: 'Line' was not declared in this scope 1317 | std::unique_ptr(new FileError(F, Line, std::move(Payload)))); | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Dominators.h:36, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h: In static member function 'static llvm::DomTreeBuilder::SemiNCAInfo::RootsT llvm::DomTreeBuilder::SemiNCAInfo::FindRoots(const DomTreeT&, llvm::DomTreeBuilder::SemiNCAInfo::BatchUpdatePtr)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: error: 'optional' is not a member of 'std' 407 | std::optional SuccOrder; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:33: error: expected primary-expression before '>' token 407 | std::optional SuccOrder; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: error: 'optional' is not a member of 'std' 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:50: error: expected primary-expression before '>' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1328:52: error: expected primary-expression before ')' token 1328 | return FileError::build(F, std::optional(), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In function 'llvm::Error llvm::createFileError(const llvm::Twine&, size_t, llvm::Error)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: error: 'optional' is not a member of 'std' 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:35: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1334:50: error: expected primary-expression before '>' token 1334 | return FileError::build(F, std::optional(Line), std::move(E)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:35: error: 'SuccOrder' was not declared in this scope 407 | std::optional SuccOrder; | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:705:39: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function --- lib/CMakeFiles/obj.Polly.dir/Analysis/PolyhedralInfo.cpp.o --- *** [lib/CMakeFiles/obj.Polly.dir/Analysis/PolyhedralInfo.cpp.o] Error code 1 make[2]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, 2>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /usr/include/g++/type_traits:2092:9: required from 'const size_t std::__strictest_alignment > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_size' /usr/include/g++/type_traits:2113:56: required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>::_S_len' /usr/include/g++/type_traits:2119:71: required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep>' /usr/include/g++/type_traits:2546:11: required by substitution of 'template using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9: required from 'struct llvm::AlignedCharArrayUnion > [2], llvm::SmallDenseMap, 2>::LargeRep>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59: required from 'class llvm::SmallDenseMap, 2>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:32, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:8: error: 'optional' in namespace 'std' does not name a template type 337 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:3: note: 'std::optional' is only available from C++17 onwards 337 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:8: error: 'optional' in namespace 'std' does not name a template type 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:3: note: 'std::optional' is only available from C++17 onwards 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:37, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:8: error: 'optional' in namespace 'std' does not name a template type 93 | std::optional MDMap; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:3: note: 'std::optional' is only available from C++17 onwards 93 | std::optional MDMap; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:8: error: 'optional' in namespace 'std' does not name a template type 119 | std::optional &getMDMap() { return MDMap; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:3: note: 'std::optional' is only available from C++17 onwards 119 | std::optional &getMDMap() { return MDMap; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:8: error: 'optional' in namespace 'std' does not name a template type 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:3: note: 'std::optional' is only available from C++17 onwards 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'bool llvm::ValueMap::hasMD() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:113:36: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 113 | bool hasMD() const { return bool(MDMap); } | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'llvm::ValueMap::MDMapT& llvm::ValueMap::MD()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:115:10: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 115 | if (!MDMap) | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:117:13: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 117 | return *MDMap; | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'void llvm::ValueMap::clear()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:147:5: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 147 | MDMap.reset(); | ^~~~~ | MDMapT In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:8: error: 'optional' in namespace 'std' does not name a template type 546 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:3: note: 'std::optional' is only available from C++17 onwards 546 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:8: error: 'optional' in namespace 'std' does not name a template type 624 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:3: note: 'std::optional' is only available from C++17 onwards 624 | std::optional>> | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:8: error: 'optional' in namespace 'std' does not name a template type 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:3: note: 'std::optional' is only available from C++17 onwards 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:8: error: 'optional' in namespace 'std' does not name a template type 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:3: note: 'std::optional' is only available from C++17 onwards 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:8: error: 'optional' in namespace 'std' does not name a template type 1173 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:3: note: 'std::optional' is only available from C++17 onwards 1173 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:8: error: 'optional' in namespace 'std' does not name a template type 1183 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:3: note: 'std::optional' is only available from C++17 onwards 1183 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:8: error: 'optional' in namespace 'std' does not name a template type 1190 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:3: note: 'std::optional' is only available from C++17 onwards 1190 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:8: error: 'optional' in namespace 'std' does not name a template type 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:3: note: 'std::optional' is only available from C++17 onwards 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h: In member function 'void llvm::RepeatedPass::printPipeline(llvm::raw_ostream&, llvm::function_ref)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1342:21: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 1342 | OS << "repeat<" << Count << ">("; | ~~~~~~~~~~~~~~~ ^~ ~~~~~ | | | | | int | llvm::raw_ostream In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)' 190 | raw_ostream &operator<<(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)' 197 | raw_ostream &operator<<(unsigned char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)' 204 | raw_ostream &operator<<(signed char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)' 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)' 260 | raw_ostream &operator<<(unsigned long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)' 261 | raw_ostream &operator<<(long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)' 262 | raw_ostream &operator<<(unsigned long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)' 263 | raw_ostream &operator<<(long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)' 266 | raw_ostream &operator<<(unsigned int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)' 270 | raw_ostream &operator<<(int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)' 274 | raw_ostream &operator<<(double N); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)' 553 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)' 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~ --- lib/CMakeFiles/obj.Polly.dir/Analysis/DependenceInfo.cpp.o --- *** [lib/CMakeFiles/obj.Polly.dir/Analysis/DependenceInfo.cpp.o] Error code 1 make[2]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:8: error: 'optional' in namespace 'std' does not name a template type 1715 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:3: note: 'std::optional' is only available from C++17 onwards 1715 | std::optional | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::ScalarEvolution::ExitLimit>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1774:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h: In member function 'llvm::BitVector::size_type llvm::BitVector::count() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:158:24: error: 'popcount' is not a member of 'llvm'; did you mean 'count'? 158 | NumBits += llvm::popcount(Bit); | ^~~~~~~~ | count In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:10: error: 'optional' in namespace 'std' does not name a template type 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:5: note: 'std::optional' is only available from C++17 onwards 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:8: error: 'optional' in namespace 'std' does not name a template type 1803 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:3: note: 'std::optional' is only available from C++17 onwards 1803 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:8: error: 'optional' in namespace 'std' does not name a template type 2075 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:3: note: 'std::optional' is only available from C++17 onwards 2075 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:8: error: 'optional' in namespace 'std' does not name a template type 2139 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:3: note: 'std::optional' is only available from C++17 onwards 2139 | std::optional>> | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std' 1109 | std::nullopt); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:10: error: 'optional' in namespace 'std' does not name a template type 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:144:5: note: 'std::optional' is only available from C++17 onwards 144 | std::optional compute_cpu_socket(unsigned ThreadPoolNum) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:8: error: 'optional' in namespace 'std' does not name a template type 152 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:152:3: note: 'std::optional' is only available from C++17 onwards 152 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:153:73: error: expected unqualified-id before ')' token 153 | get_threadpool_strategy(StringRef Num, ThreadPoolStrategy Default = {}); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h: In function 'llvm::ThreadPoolStrategy llvm::heavyweight_hardware_concurrency(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: error: 'optional' is not a member of 'std' 174 | std::optional S = | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:37: error: expected primary-expression before '>' token 174 | std::optional S = | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:174:39: error: 'S' was not declared in this scope 174 | std::optional S = | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:175:9: error: 'get_threadpool_strategy' was not declared in this scope; did you mean 'ThreadPoolStrategy'? 175 | get_threadpool_strategy(Num, heavyweight_hardware_concurrency()); | ^~~~~~~~~~~~~~~~~~~~~~~ | ThreadPoolStrategy In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In constructor 'llvm::SCEVNAryExpr::SCEVNAryExpr(llvm::FoldingSetNodeIDRef, llvm::SCEVTypes, const llvm::SCEV* const*, size_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:190:51: error: missing template arguments before '(' token 190 | : SCEV(ID, T, computeExpressionSize(ArrayRef(O, N))), Operands(O), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In member function 'llvm::ArrayRef llvm::SCEVNAryExpr::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:202:20: error: missing template arguments before '(' token 202 | return ArrayRef(Operands, NumOperands); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:8: error: 'shared_mutex' in namespace 'std' does not name a type 96 | std::shared_mutex impl; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:96:3: note: 'std::shared_mutex' is only available from C++17 onwards 96 | std::shared_mutex impl; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:106:7: error: 'impl' was not declared in this scope 106 | impl.lock_shared(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock_shared()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:118:7: error: 'impl' was not declared in this scope 118 | impl.unlock_shared(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::lock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:131:7: error: 'impl' was not declared in this scope 131 | impl.lock(); | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex::unlock()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:144:7: error: 'impl' was not declared in this scope 144 | impl.unlock(); | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:8: error: 'optional' in namespace 'std' does not name a template type 232 | std::optional identifyObject(const void *Ptr) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:232:3: note: 'std::optional' is only available from C++17 onwards 232 | std::optional identifyObject(const void *Ptr) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: In member function 'int64_t llvm::BumpPtrAllocatorImpl::identifyKnownObject(const void*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: error: 'optional' is not a member of 'std' 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:26: error: expected primary-expression before '>' token 259 | std::optional Out = identifyObject(Ptr); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:28: error: 'Out' was not declared in this scope 259 | std::optional Out = identifyObject(Ptr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: error: there are no arguments to 'identifyObject' that depend on a template parameter, so a declaration of 'identifyObject' must be available [-fpermissive] 259 | std::optional Out = identifyObject(Ptr); | ^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:17: error: 'optional' in namespace 'std' does not name a template type 668 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:12: note: 'std::optional' is only available from C++17 onwards 668 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:8: error: 'optional' in namespace 'std' does not name a template type 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:754:3: note: 'std::optional' is only available from C++17 onwards 754 | std::optional getBounds(ScalarEvolution &SE) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:6: error: 'optional' in namespace 'std' does not name a template type 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:1: note: 'std::optional' is only available from C++17 onwards 1330 | std::optional getOptionalBoolLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:6: error: 'optional' in namespace 'std' does not name a template type 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1337:1: note: 'std::optional' is only available from C++17 onwards 1337 | std::optional getOptionalIntLoopAttribute(const Loop *TheLoop, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:6: error: 'optional' in namespace 'std' does not name a template type 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1349:1: note: 'std::optional' is only available from C++17 onwards 1349 | std::optional findStringMetadataForLoop(const Loop *TheLoop, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LegacyPassManagers.h:243:49: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FloatingPointMode.h:18, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/APFloat.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:8: error: 'optional' in namespace 'std' does not name a template type 50 | std::optional Result; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:50:3: note: 'std::optional' is only available from C++17 onwards 50 | std::optional Result; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch::StringSwitch(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:54:13: error: class 'llvm::StringSwitch' does not have any field named 'Result' 54 | : Str(S), Result() { } | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch::StringSwitch(llvm::StringSwitch&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:64:23: error: class 'llvm::StringSwitch' does not have any field named 'Result' 64 | : Str(other.Str), Result(std::move(other.Result)) { } | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::Case(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:70:10: error: 'Result' was not declared in this scope 70 | if (!Result && Str == S) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::EndsWith(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:77:10: error: 'Result' was not declared in this scope 77 | if (!Result && Str.endswith(S)) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::StartsWith(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:84:10: error: 'Result' was not declared in this scope 84 | if (!Result && Str.startswith(S)) { | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::CaseLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:143:10: error: 'Result' was not declared in this scope 143 | if (!Result && Str.equals_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::EndsWithLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:150:10: error: 'Result' was not declared in this scope 150 | if (!Result && Str.endswith_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch& llvm::StringSwitch::StartsWithLower(llvm::StringLiteral, T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:157:10: error: 'Result' was not declared in this scope 157 | if (!Result && Str.startswith_insensitive(S)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'R llvm::StringSwitch::Default(T)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:183:9: error: 'Result' was not declared in this scope 183 | if (Result) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch::operator R()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:190:23: error: 'Result' was not declared in this scope 190 | return std::move(*Result); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::detail::DenseSetPair >': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:55:17: required from 'class llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair >, llvm::DenseMapInfo >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:286:7: required from 'class llvm::SmallDenseSet >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:293:12: required from 'class llvm::SetVector, llvm::SmallDenseSet > >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:300:7: required from 'class llvm::SmallSetVector' /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:392:38: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:152:48: error: return type 'struct llvm::MaybeAlign' is incomplete 152 | inline MaybeAlign getMaybeAlignValue() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'void llvm::ConstantInt::getMaybeAlignValue() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:153:37: error: invalid use of incomplete type 'struct llvm::MaybeAlign' 153 | return MaybeAlign(getZExtValue()); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'llvm::Align llvm::ConstantInt::getAlignValue() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:30: error: invalid use of 'void' 160 | return getMaybeAlignValue().valueOrOne(); | ~~~~~~~~~~~~~~~~~~^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: expected ';' before 'valueOrOne' 160 | return getMaybeAlignValue().valueOrOne(); | ^~~~~~~~~~ | ; /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: 'valueOrOne' was not declared in this scope 160 | return getMaybeAlignValue().valueOrOne(); | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:27: error: 'are_base_of' was not declared in this scope 455 | static std::enable_if_t::value, Constant *> | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:56: error: pack expansion argument for non-pack parameter '_Tp' of alias template 'template using enable_if_t = typename std::enable_if::type' 455 | static std::enable_if_t::value, Constant *> | ^ In file included from /usr/include/g++/bits/move.h:57, from /usr/include/g++/bits/stl_pair.h:59, from /usr/include/g++/utility:70, from /usr/include/g++/tuple:38, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/type_traits:2553:24: note: declared here 2553 | template | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:64: error: expected ';' before ',' token 455 | static std::enable_if_t::value, Constant *> | ^ | ; In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: At global scope: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:1665:8: error: 'optional' in namespace 'std' does not name a template type 1665 | std::optional name; | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:1665:3: note: 'std::optional' is only available from C++17 onwards 1665 | std::optional name; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantDataArray::get(llvm::LLVMContext&, ArrayTy&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:701:52: error: missing template arguments before '(' token 701 | return ConstantDataArray::get(Context, ArrayRef(Elts)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:25: error: 'std::optional' has not been declared 1247 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:33: error: expected ',' or '...' before '<' token 1247 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:25: error: 'std::optional' has not been declared 1255 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:33: error: expected ',' or '...' before '<' token 1255 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:25: error: 'std::optional' has not been declared 1266 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:33: error: expected ',' or '...' before '<' token 1266 | std::optional InRangeIndex = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)' 1247 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1246:25: note: ...following parameter 4 which has a default argument 1246 | bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)' 1255 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1254:63: note: ...following parameter 4 which has a default argument 1254 | getGetElementPtr(Type *Ty, Constant *C, Constant *Idx, bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:20: error: default argument missing for parameter 5 of 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)' 1266 | std::optional InRangeIndex = std::nullopt, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1265:25: note: ...following parameter 4 which has a default argument 1265 | bool InBounds = false, | ~~~~~^~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef, bool, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1250:24: error: missing template arguments before '(' token 1250 | Ty, C, ArrayRef((Value *const *)IdxList.data(), IdxList.size()), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:19: error: 'InRangeIndex' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:33: error: 'OnlyIfReducedTy' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1260:64: error: 'InRangeIndex' was not declared in this scope 1260 | return getGetElementPtr(Ty, C, cast(Idx), InBounds, InRangeIndex, | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1261:29: error: 'OnlyIfReducedTy' was not declared in this scope 1261 | OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: In member function 'llvm::StringRef polly::Scop::getName()': /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2049:10: error: 'name' was not declared in this scope; did you mean 'tzname'? 2049 | if (!name) | ^~~~ | tzname /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2051:13: error: 'name' was not declared in this scope; did you mean 'tzname'? 2051 | return *name; | ^~~~ | tzname In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::detail::DenseSetPair >': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:55:17: required from 'class llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair >, llvm::DenseMapInfo >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:286:7: required from 'class llvm::SmallDenseSet >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:293:12: required from 'class llvm::SetVector, llvm::SmallDenseSet > >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:300:7: required from 'class llvm::SmallSetVector' /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:60:31: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(16)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:136:70: error: 'nullopt' is not a member of 'std' 136 | ArrayRef Ops1, ArrayRef Ops2 = std::nullopt) | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:16: error: 'std::optional' has not been declared 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:24: error: expected ',' or '...' before '<' token 100 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:25: error: 'std::optional' has not been declared 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:33: error: expected ',' or '...' before '<' token 114 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:20: error: 'std::optional' has not been declared 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:28: error: expected ',' or '...' before '<' token 128 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:23: error: 'std::optional' has not been declared 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:31: error: expected ',' or '...' before '<' token 152 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:21: error: 'std::optional' has not been declared 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:29: error: expected ',' or '...' before '<' token 158 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:11: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFile(const llvm::Twine&, bool, bool, bool, int)' 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:98:39: note: ...following parameter 2 which has a default argument 98 | getFile(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:20: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFileSlice(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, int64_t, bool, int)' 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:113:41: note: ...following parameter 5 which has a default argument 113 | int64_t Offset, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:15: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFile(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, bool, bool, int)' 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:127:20: note: ...following parameter 4 which has a default argument 127 | bool RequiresNullTerminator = true, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:18: error: default argument missing for parameter 4 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileOrSTDIN(const llvm::Twine&, bool, bool, int)' 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:150:46: note: ...following parameter 2 which has a default argument 150 | getFileOrSTDIN(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:157:21: note: ...following parameter 4 which has a default argument 157 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:16: error: 'std::optional' has not been declared 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:24: error: expected ',' or '...' before '<' token 204 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:21: error: 'std::optional' has not been declared 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:29: error: expected ',' or '...' before '<' token 210 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:30: error: 'std::optional' has not been declared 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:38: error: expected ',' or '...' before '<' token 220 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:11: error: default argument missing for parameter 3 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFile(const llvm::Twine&, bool, int)' 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:203:39: note: ...following parameter 2 which has a default argument 203 | getFile(const Twine &Filename, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:209:21: note: ...following parameter 4 which has a default argument 209 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:25: error: default argument missing for parameter 3 of 'static std::unique_ptr llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t, const llvm::Twine&, int)' 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:219:51: note: ...following parameter 2 which has a default argument 219 | getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "", | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:10: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 53 | SMRange(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:11: error: invalid use of '::' 53 | SMRange(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:28: error: expected ';' at end of member declaration 53 | SMRange(std::nullopt_t) {} | ^ | ; In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIAssignID::DIAssignID(llvm::LLVMContext&, llvm::Metadata::StorageType)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:307:49: error: 'nullopt' is not a member of 'std' 307 | : MDNode(C, DIAssignIDKind, Storage, std::nullopt) {} | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h: In constructor 'llvm::SMDiagnostic::SMDiagnostic(llvm::StringRef, llvm::SourceMgr::DiagKind, llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:8: error: 'optional' in namespace 'std' does not name a template type 482 | std::optional getHotness() const { return Hotness; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:3: note: 'std::optional' is only available from C++17 onwards 482 | std::optional getHotness() const { return Hotness; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:24: error: 'std::optional' has not been declared 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:32: error: expected ',' or '...' before '<' token 483 | void setHotness(std::optional H) { Hotness = H; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:8: error: 'optional' in namespace 'std' does not name a template type 524 | std::optional Hotness; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:3: note: 'std::optional' is only available from C++17 onwards 524 | std::optional Hotness; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: note: candidate expects 3 arguments, 1 provided 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: note: candidate expects 3 arguments, 1 provided 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:15: error: 'optional' in namespace 'std' does not name a template type 520 | inline std::optional getSource() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:10: note: 'std::optional' is only available from C++17 onwards 520 | inline std::optional getSource() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:8: error: 'optional' in namespace 'std' does not name a template type 599 | std::optional> Checksum; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:3: note: 'std::optional' is only available from C++17 onwards 599 | std::optional> Checksum; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:15: error: 'std::optional' has not been declared 604 | std::optional> CS, MDString *Src, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:23: error: expected ',' or '...' before '<' token 604 | std::optional> CS, MDString *Src, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:31: error: 'std::optional' has not been declared 610 | std::optional> CS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:39: error: expected ',' or '...' before '<' token 610 | std::optional> CS, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:31: error: 'std::optional' has not been declared 623 | std::optional> CS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:39: error: expected ',' or '...' before '<' token 623 | std::optional> CS, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:24: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In member function 'void llvm::DiagnosticInfoOptimizationBase::setHotness(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:48: error: 'Hotness' was not declared in this scope; did you mean 'setHotness'? 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~ | setHotness 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared 635 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token 635 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:58: error: 'H' was not declared in this scope 483 | void setHotness(std::optional H) { Hotness = H; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:27: error: 'std::optional' has not been declared 640 | std::optional> CS = std::nullopt, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:640:35: error: expected ',' or '...' before '<' token 640 | std::optional> CS = std::nullopt, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:8: error: 'optional' in namespace 'std' does not name a template type 648 | std::optional> getChecksum() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:3: note: 'std::optional' is only available from C++17 onwards 648 | std::optional> getChecksum() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:8: error: 'optional' in namespace 'std' does not name a template type 654 | std::optional getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:654:3: note: 'std::optional' is only available from C++17 onwards 654 | std::optional getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:8: error: 'optional' in namespace 'std' does not name a template type 661 | std::optional> getRawChecksum() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:661:3: note: 'std::optional' is only available from C++17 onwards 661 | std::optional> getRawChecksum() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:15: error: 'optional' in namespace 'std' does not name a template type 667 | static std::optional getChecksumKind(StringRef CSKindStr); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:10: note: 'std::optional' is only available from C++17 onwards 667 | static std::optional getChecksumKind(StringRef CSKindStr); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getImpl(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: error: 'optional' is not a member of 'std' 613 | std::optional> MDChecksum; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:42: error: expected primary-expression before '>' token 613 | std::optional> MDChecksum; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:45: error: 'MDChecksum' was not declared in this scope 613 | std::optional> MDChecksum; | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:614:9: error: 'CS' was not declared in this scope 614 | if (CS) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:20: error: invalid use of member 'llvm::DIFile::Source' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:53: error: invalid use of member 'llvm::DIFile::Source' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:72: error: invalid use of member 'llvm::Metadata::Storage' in static member function 618 | Source ? MDString::get(Context, *Source) : nullptr, Storage, | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here 72 | unsigned char Storage : 7; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:619:20: error: 'ShouldCreate' was not declared in this scope 619 | ShouldCreate); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIFile llvm::DIFile::cloneImpl() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:25: error: 'getChecksum' was not declared in this scope 629 | getChecksum(), getSource()); | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:40: error: 'getSource' was not declared in this scope; did you mean 'Source'? 629 | getChecksum(), getSource()); | ^~~~~~~~~ | Source In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope 637 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 637 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 633 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope 642 | (Filename, Directory, CS, Source)) | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function 642 | (Filename, Directory, CS, Source)) | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 638 | DEFINE_MDNODE_GET(DIFile, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here 601 | MDString *Source; | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:6: error: 'optional' in namespace 'std' does not name a template type 686 | std::optional DIScope::getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:1: note: 'std::optional' is only available from C++17 onwards 686 | std::optional DIScope::getSource() const { | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:32: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:65:24: error: 'std::optional' has not been declared 65 | bool insertEdge(std::optional From, NodeRef To) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:65:32: error: expected ',' or '...' before '<' token 65 | bool insertEdge(std::optional From, NodeRef To) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: In member function 'bool llvm::po_iterator_storage::insertEdge(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:66:27: error: 'To' was not declared in this scope 66 | return Visited.insert(To).second; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:86:24: error: 'std::optional' has not been declared 86 | bool insertEdge(std::optional From, NodeRef To) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:86:32: error: expected ',' or '...' before '<' token 86 | bool insertEdge(std::optional From, NodeRef To) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: In member function 'bool llvm::po_iterator_storage::insertEdge(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:87:27: error: 'To' was not declared in this scope 87 | return Visited.insert(To).second; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: In constructor 'llvm::po_iterator::po_iterator(llvm::po_iterator::NodeRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:114:27: error: 'optional' is not a member of 'std' 114 | this->insertEdge(std::optional(), BB); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:114:27: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:114:43: error: expected primary-expression before '>' token 114 | this->insertEdge(std::optional(), BB); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:114:45: error: expected primary-expression before ')' token 114 | this->insertEdge(std::optional(), BB); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: In constructor 'llvm::po_iterator::po_iterator(llvm::po_iterator::NodeRef, SetType&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:123:31: error: 'optional' is not a member of 'std' 123 | if (this->insertEdge(std::optional(), BB)) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:123:31: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:123:47: error: expected primary-expression before '>' token 123 | if (this->insertEdge(std::optional(), BB)) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:123:49: error: expected primary-expression before ')' token 123 | if (this->insertEdge(std::optional(), BB)) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: In member function 'void llvm::po_iterator::traverseChild()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:136:33: error: 'optional' is not a member of 'std' 136 | if (this->insertEdge(std::optional(VisitStack.back().first), | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:136:33: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:136:49: error: expected primary-expression before '>' token 136 | if (this->insertEdge(std::optional(VisitStack.back().first), | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:35: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallSet.h: In member function 'std::pair, bool> llvm::SmallSet::insert(const T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallSet.h:179:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 179 | auto [I, Inserted] = Set.insert(V); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:8: error: 'optional' in namespace 'std' does not name a template type 863 | std::optional getSignedness() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:863:3: note: 'std::optional' is only available from C++17 onwards 863 | std::optional getSignedness() const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:41: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:70:8: error: 'optional' in namespace 'std' does not name a template type 70 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:70:3: note: 'std::optional' is only available from C++17 onwards 70 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:76:8: error: 'optional' in namespace 'std' does not name a template type 76 | std::optional getProfileCountFromFreq(uint64_t Freq) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:76:3: note: 'std::optional' is only available from C++17 onwards 76 | std::optional getProfileCountFromFreq(uint64_t Freq) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:8: error: 'optional' in namespace 'std' does not name a template type 969 | std::optional DWARFAddressSpace; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:3: note: 'std::optional' is only available from C++17 onwards 969 | std::optional DWARFAddressSpace; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:22: error: 'std::optional' has not been declared 974 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:30: error: expected ',' or '...' before '<' token 974 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:16: error: 'std::optional' has not been declared 984 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:24: error: expected ',' or '...' before '<' token 984 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:16: error: 'std::optional' has not been declared 996 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:24: error: expected ',' or '...' before '<' token 996 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:21: error: expected ',' or '...' before '<' token 1013 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:50:43: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 50 | static CLASS *get(LLVMContext &Context, DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:54:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 54 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:41:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 41 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:27: error: 'std::optional' has not been declared 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1021:35: error: expected ',' or '...' before '<' token 1021 | std::optional DWARFAddressSpace, DIFlags Flags, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 45 | DEFINE_MDNODE_GET_UNPACK(FORMAL)) { \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:8: error: 'optional' in namespace 'std' does not name a template type 1036 | std::optional getDWARFAddressSpace() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1036:3: note: 'std::optional' is only available from C++17 onwards 1036 | std::optional getDWARFAddressSpace() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIDerivedType::DIDerivedType(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:43: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 977 | AlignInBits, OffsetInBits, Flags, Ops), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:977:50: error: 'Ops' was not declared in this scope 977 | AlignInBits, OffsetInBits, Flags, Ops), | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:9: error: class 'llvm::DIDerivedType' does not have any field named 'DWARFAddressSpace' 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:41: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:119:8: error: 'optional' in namespace 'std' does not name a template type 119 | std::optional computeHotness(const Value *V); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:119:3: note: 'std::optional' is only available from C++17 onwards 119 | std::optional computeHotness(const Value *V); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:978:27: error: 'DWARFAddressSpace' was not declared in this scope 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getImpl(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:20: error: 'DWARFAddressSpace' was not declared in this scope 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:39: error: invalid use of member 'llvm::DIType::Flags' in static member function 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:46: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~ | getExtraData /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:57: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 989 | DWARFAddressSpace, Flags, ExtraData, Annotations.get(), | ^~~~~~~~~~~ | getAnnotations /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:20: error: invalid use of member 'llvm::Metadata::Storage' in static member function 990 | Storage, ShouldCreate); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here 72 | unsigned char Storage : 7; | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:29: error: 'ShouldCreate' was not declared in this scope 990 | Storage, ShouldCreate); | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIDerivedType llvm::DIDerivedType::cloneImpl() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1004:9: error: 'getDWARFAddressSpace' was not declared in this scope 1004 | getDWARFAddressSpace(), getFlags(), getExtraData(), getAnnotations()); | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp: In member function 'void polly::ScopArrayInfo::updateElementType(llvm::Type*)': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:296:21: error: 'gcd' is not a member of 'std' 296 | auto GCD = std::gcd((uint64_t)NewElementSize, (uint64_t)OldElementSize); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp: In member function 'void polly::ScopArrayInfo::print(llvm::raw_ostream&, bool) const': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:372:29: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 372 | OS << " // Element size " << getElemSizeInBytes() << "\n"; | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~ | | | | llvm::raw_ostream int In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)' 190 | raw_ostream &operator<<(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)' 197 | raw_ostream &operator<<(unsigned char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)' 204 | raw_ostream &operator<<(signed char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)' 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)' 260 | raw_ostream &operator<<(unsigned long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)' 261 | raw_ostream &operator<<(long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)' 262 | raw_ostream &operator<<(unsigned long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)' 263 | raw_ostream &operator<<(long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)' 266 | raw_ostream &operator<<(unsigned int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)' 270 | raw_ostream &operator<<(int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)' 274 | raw_ostream &operator<<(double N); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)' 553 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)' 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FMF.h:114:21: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::FastMathFlags)' 114 | inline raw_ostream &operator<<(raw_ostream &O, FastMathFlags FMF) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:43, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:197:21: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::LocationSize)' 197 | inline raw_ostream &operator<<(raw_ostream &OS, LocationSize Size) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/ModRef.h:254:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::MemoryEffects)' 254 | raw_ostream &operator<<(raw_ostream &OS, MemoryEffects RMRB); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp: In member function 'void polly::MemoryAccess::print(llvm::raw_ostream&) const': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:938:21: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'bool') 938 | OS << "[Scalar: " << isScalarKind() << "]\n"; | ~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~ | | | | llvm::raw_ostream bool In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)' 190 | raw_ostream &operator<<(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)' 197 | raw_ostream &operator<<(unsigned char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)' 204 | raw_ostream &operator<<(signed char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)' 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)' 260 | raw_ostream &operator<<(unsigned long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)' 261 | raw_ostream &operator<<(long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)' 262 | raw_ostream &operator<<(unsigned long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)' 263 | raw_ostream &operator<<(long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)' 266 | raw_ostream &operator<<(unsigned int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)' 270 | raw_ostream &operator<<(int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)' 274 | raw_ostream &operator<<(double N); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)' 553 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)' 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FMF.h:114:21: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::FastMathFlags)' 114 | inline raw_ostream &operator<<(raw_ostream &O, FastMathFlags FMF) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:43, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:197:21: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::LocationSize)' 197 | inline raw_ostream &operator<<(raw_ostream &OS, LocationSize Size) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/ModRef.h:254:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::MemoryEffects)' 254 | raw_ostream &operator<<(raw_ostream &OS, MemoryEffects RMRB); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp: In constructor 'polly::ScopStmt::ScopStmt(polly::Scop&, llvm::Region&, llvm::StringRef, llvm::Loop*, std::vector)': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:1174:76: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 1174 | SurroundingLoop(SurroundingLoop), Instructions(EntryBlockInstructions) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:1174:76: note: candidate expects 3 arguments, 1 provided 1174 | SurroundingLoop(SurroundingLoop), Instructions(EntryBlockInstructions) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp: In constructor 'polly::ScopStmt::ScopStmt(polly::Scop&, llvm::BasicBlock&, llvm::StringRef, llvm::Loop*, std::vector)': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:1181:32: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 1181 | Instructions(Instructions) {} | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:1181:32: note: candidate expects 3 arguments, 1 provided 1181 | Instructions(Instructions) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1016 | OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations)) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 51 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp: In constructor 'polly::Scop::Scop(llvm::Region&, llvm::ScalarEvolution&, llvm::LoopInfo&, llvm::DominatorTree&, polly::ScopDetection::DetectionContext&, llvm::OptimizationRemarkEmitter&, int)': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:1602:13: error: class 'polly::Scop' does not have any field named 'name' 1602 | R(R), name(std::nullopt), HasSingleExitEdge(R.getExitingBlock()), DC(DC), | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:1602:23: error: 'nullopt' is not a member of 'std' 1602 | R(R), name(std::nullopt), HasSingleExitEdge(R.getExitingBlock()), DC(DC), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 55 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 42 | return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here 699 | DIFlags Flags; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'? 1026 | ExtraData, Annotations)) | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context 1025 | AlignInBits, OffsetInBits, DWARFAddressSpace, Flags, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL' 37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__ | ^~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK' 47 | getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY' 58 | DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET' 1017 | DEFINE_MDNODE_GET(DIDerivedType, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp: In member function 'void polly::Scop::printAliasAssumptions(llvm::raw_ostream&) const': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:2082:36: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 2082 | OS.indent(4) << "Alias Groups (" << noOfGroups << "):\n"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~ | | | | llvm::raw_ostream int In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)' 190 | raw_ostream &operator<<(char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)' 197 | raw_ostream &operator<<(unsigned char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)' 204 | raw_ostream &operator<<(signed char C) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)' 252 | raw_ostream &operator<<(const std::string_view &Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)' 260 | raw_ostream &operator<<(unsigned long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)' 261 | raw_ostream &operator<<(long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)' 262 | raw_ostream &operator<<(unsigned long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)' 263 | raw_ostream &operator<<(long long N); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)' 266 | raw_ostream &operator<<(unsigned int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)' 270 | raw_ostream &operator<<(int N) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:15: error: 'optional' in namespace 'std' does not name a template type 1383 | static std::optional getEmissionKind(StringRef Str); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:10: note: 'std::optional' is only available from C++17 onwards 1383 | static std::optional getEmissionKind(StringRef Str); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)' 274 | raw_ostream &operator<<(double N); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:15: error: 'optional' in namespace 'std' does not name a template type 1385 | static std::optional getNameTableKind(StringRef Str); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1385:10: note: 'std::optional' is only available from C++17 onwards 1385 | static std::optional getNameTableKind(StringRef Str); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)' 553 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)' 757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t); | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FMF.h:114:21: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::FastMathFlags)' 114 | inline raw_ostream &operator<<(raw_ostream &O, FastMathFlags FMF) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:43, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:197:21: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::LocationSize)' 197 | inline raw_ostream &operator<<(raw_ostream &OS, LocationSize Size) { | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/ModRef.h:254:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, llvm::MemoryEffects)' 254 | raw_ostream &operator<<(raw_ostream &OS, MemoryEffects RMRB); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:8: error: 'optional' in namespace 'std' does not name a template type 1670 | std::optional getSource() const { return getScope()->getSource(); } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:3: note: 'std::optional' is only available from C++17 onwards 1670 | std::optional getSource() const { return getScope()->getSource(); } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:15: error: 'optional' in namespace 'std' does not name a template type 1737 | inline std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1737:10: note: 'std::optional' is only available from C++17 onwards 1737 | inline std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:15: error: 'optional' in namespace 'std' does not name a template type 1754 | inline std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1754:10: note: 'std::optional' is only available from C++17 onwards 1754 | inline std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:15: error: 'optional' in namespace 'std' does not name a template type 1813 | static std::optional encodeDiscriminator(unsigned BD, unsigned DF, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1813:10: note: 'std::optional' is only available from C++17 onwards 1813 | static std::optional encodeDiscriminator(unsigned BD, unsigned DF, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:6: error: 'optional' in namespace 'std' does not name a template type 2277 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2277:1: note: 'std::optional' is only available from C++17 onwards 2277 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:6: error: 'optional' in namespace 'std' does not name a template type 2296 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2296:1: note: 'std::optional' is only available from C++17 onwards 2296 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:8: error: 'optional' in namespace 'std' does not name a template type 2563 | std::optional getSizeInBits() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2563:3: note: 'std::optional' is only available from C++17 onwards 2563 | std::optional getSizeInBits() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:8: error: 'optional' in namespace 'std' does not name a template type 2567 | std::optional getSignedness() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2567:3: note: 'std::optional' is only available from C++17 onwards 2567 | std::optional getSignedness() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:8: error: 'optional' in namespace 'std' does not name a template type 2585 | std::optional getSource() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2585:3: note: 'std::optional' is only available from C++17 onwards 2585 | std::optional getSource() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:8: error: 'optional' in namespace 'std' does not name a template type 2647 | std::optional isConstant() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2647:3: note: 'std::optional' is only available from C++17 onwards 2647 | std::optional isConstant() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:15: error: 'optional' in namespace 'std' does not name a template type 2779 | static std::optional getFragmentInfo(expr_op_iterator Start, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2779:10: note: 'std::optional' is only available from C++17 onwards 2779 | static std::optional getFragmentInfo(expr_op_iterator Start, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:8: error: 'optional' in namespace 'std' does not name a template type 2783 | std::optional getFragmentInfo() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2783:3: note: 'std::optional' is only available from C++17 onwards 2783 | std::optional getFragmentInfo() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:15: error: 'optional' in namespace 'std' does not name a template type 2820 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2820:10: note: 'std::optional' is only available from C++17 onwards 2820 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:15: error: 'optional' in namespace 'std' does not name a template type 2927 | static std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2927:10: note: 'std::optional' is only available from C++17 onwards 2927 | static std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIExpression::DIExpression(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2618:51: error: 'nullopt' is not a member of 'std' 2618 | : MDNode(C, DIExpressionKind, Storage, std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DIExpression::isFragment() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2788:36: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'? 2788 | bool isFragment() const { return getFragmentInfo().has_value(); } | ^~~~~~~~~~~~~~~ | FragmentInfo In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = llvm::Use*; FuncTy = llvm::BasicBlock* (*)(llvm::Value*); ReferenceTy = llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4420:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'llvm::BasicBlock* (*)(llvm::Value*)'} to 'int' [-fpermissive] 414 | : mapped_iterator::iterator_adaptor_base(std::move(U)), F(std::move(F)) {} | ^ | | | std::remove_reference::type {aka llvm::BasicBlock* (*)(llvm::Value*)} /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = const llvm::Use*; FuncTy = const llvm::BasicBlock* (*)(const llvm::Value*); ReferenceTy = const llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4429:69: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'const llvm::BasicBlock* (*)(const llvm::Value*)'} to 'int' [-fpermissive] /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'int llvm::DIExpression::fragmentCmp(const llvm::DIExpression*) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2965:23: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'? 2965 | auto Fragment1 = *getFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2966:30: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'? 2966 | auto Fragment2 = *Other->getFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3516:48: error: 'nullopt' is not a member of 'std' 3516 | ArrayRef Ops2 = std::nullopt) | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIArgList::DIArgList(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3679:48: error: 'nullopt' is not a member of 'std' 3679 | : MDNode(C, DIArgListKind, Storage, std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:8: error: 'optional' in namespace 'std' does not name a template type 3729 | std::optional Fragment; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3729:3: note: 'std::optional' is only available from C++17 onwards 3729 | std::optional Fragment; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:22: error: 'std::optional' has not been declared 3740 | std::optional FragmentInfo, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:30: error: expected ',' or '...' before '<' token 3740 | std::optional FragmentInfo, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:8: error: 'optional' in namespace 'std' does not name a template type 3751 | std::optional getFragment() const { return Fragment; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3751:3: note: 'std::optional' is only available from C++17 onwards 3751 | std::optional getFragment() const { return Fragment; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:24: error: class 'llvm::DebugVariable' does not have any field named 'Fragment' 3742 | : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {} | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:45: error: expected primary-expression before ')' token 3742 | : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: warning: 'llvm::DebugVariable::InlinedAt' is initialized with itself [-Winit-self] 3739 | DebugVariable(const DILocalVariable *Var, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:9: error: class 'llvm::DebugVariable' does not have any field named 'Fragment' 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:35: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'? 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:60: error: 'nullopt' is not a member of 'std' 3747 | Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt), | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::DebugVariable::FragmentInfo llvm::DebugVariable::getFragmentOrDefault() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3755:12: error: 'Fragment' was not declared in this scope 3755 | return Fragment.value_or(DefaultFragment); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator==(const llvm::DebugVariable&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3763:31: error: 'Fragment' was not declared in this scope 3763 | return std::tie(Variable, Fragment, InlinedAt) == | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3764:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'? 3764 | std::tie(Other.Variable, Other.Fragment, Other.InlinedAt); | ^~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DebugVariable::operator<(const llvm::DebugVariable&) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3768:31: error: 'Fragment' was not declared in this scope 3768 | return std::tie(Variable, Fragment, InlinedAt) < | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3769:43: error: 'const class llvm::DebugVariable' has no member named 'Fragment'; did you mean 'FragmentInfo'? 3769 | std::tie(Other.Variable, Other.Fragment, Other.InlinedAt); | ^~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo::getEmptyKey()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3778:40: error: 'nullopt' is not a member of 'std' 3778 | return DebugVariable(nullptr, std::nullopt, nullptr); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DebugVariable llvm::DenseMapInfo::getTombstoneKey()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3783:52: error: no matching function for call to 'llvm::DebugVariable::DebugVariable(std::nullptr_t, , std::nullptr_t)' 3783 | return DebugVariable(nullptr, {{0, 0}}, nullptr); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)' 3744 | DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3744:65: note: no known conversion for argument 2 from '' to 'const llvm::DIExpression*' 3744 | DebugVariable(const DILocalVariable *Var, const DIExpression *DIExpr, | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)' 3739 | DebugVariable(const DILocalVariable *Var, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: note: candidate expects 2 arguments, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate: 'llvm::DebugVariable::DebugVariable(const llvm::DbgVariableIntrinsic*)' 3737 | DebugVariable(const DbgVariableIntrinsic *DII); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3737:3: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(const llvm::DebugVariable&)' 3725 | class DebugVariable { | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate: 'constexpr llvm::DebugVariable::DebugVariable(llvm::DebugVariable&&)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3725:7: note: candidate expects 1 argument, 3 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::DebugVariable&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:16: error: 'optional' in namespace 'std' does not name a template type 3788 | const std::optional Fragment = D.getFragment(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3788:11: note: 'std::optional' is only available from C++17 onwards 3788 | const std::optional Fragment = D.getFragment(); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3789:9: error: 'Fragment' was not declared in this scope 3789 | if (Fragment) | ^~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:6: error: 'optional' in namespace 'std' does not name a template type 49 | std::optional convertStrToRoundingMode(StringRef); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:1: note: 'std::optional' is only available from C++17 onwards 49 | std::optional convertStrToRoundingMode(StringRef); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:6: error: 'optional' in namespace 'std' does not name a template type 53 | std::optional convertRoundingModeToStr(RoundingMode); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:53:1: note: 'std::optional' is only available from C++17 onwards 53 | std::optional convertRoundingModeToStr(RoundingMode); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:6: error: 'optional' in namespace 'std' does not name a template type 57 | std::optional convertStrToExceptionBehavior(StringRef); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:57:1: note: 'std::optional' is only available from C++17 onwards 57 | std::optional convertStrToExceptionBehavior(StringRef); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:6: error: 'optional' in namespace 'std' does not name a template type 61 | std::optional convertExceptionBehaviorToStr(fp::ExceptionBehavior); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:61:1: note: 'std::optional' is only available from C++17 onwards 61 | std::optional convertExceptionBehaviorToStr(fp::ExceptionBehavior); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:33, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:77:53: error: 'nullopt' is not a member of 'std' 77 | ArrayRef Tys = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:93:56: error: 'nullopt' is not a member of 'std' 93 | ArrayRef Tys = std::nullopt); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:8: error: 'optional' in namespace 'std' does not name a template type 247 | std::optional remangleIntrinsicFunction(Function *F); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Intrinsics.h:247:3: note: 'std::optional' is only available from C++17 onwards 247 | std::optional remangleIntrinsicFunction(Function *F); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:189:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:8: error: 'optional' in namespace 'std' does not name a template type 317 | std::optional getFragmentSizeInBits() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:317:3: note: 'std::optional' is only available from C++17 onwards 317 | std::optional getFragmentSizeInBits() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:8: error: 'optional' in namespace 'std' does not name a template type 320 | std::optional getFragment() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:320:3: note: 'std::optional' is only available from C++17 onwards 320 | std::optional getFragment() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32: required from 'llvm::DenseMap::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32: required from 'llvm::DenseMap::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:15: error: 'optional' in namespace 'std' does not name a template type 492 | static std::optional getMaskParamPos(Intrinsic::ID IntrinsicID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:492:10: note: 'std::optional' is only available from C++17 onwards 492 | static std::optional getMaskParamPos(Intrinsic::ID IntrinsicID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:15: error: 'optional' in namespace 'std' does not name a template type 493 | static std::optional getVectorLengthParamPos( | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:493:10: note: 'std::optional' is only available from C++17 onwards 493 | static std::optional getVectorLengthParamPos( | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:15: error: 'optional' in namespace 'std' does not name a template type 524 | static std::optional getMemoryPointerParamPos(Intrinsic::ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:524:10: note: 'std::optional' is only available from C++17 onwards 524 | static std::optional getMemoryPointerParamPos(Intrinsic::ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:15: error: 'optional' in namespace 'std' does not name a template type 528 | static std::optional getMemoryDataParamPos(Intrinsic::ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:528:10: note: 'std::optional' is only available from C++17 onwards 528 | static std::optional getMemoryDataParamPos(Intrinsic::ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:8: error: 'optional' in namespace 'std' does not name a template type 539 | std::optional getFunctionalOpcode() const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:539:3: note: 'std::optional' is only available from C++17 onwards 539 | std::optional getFunctionalOpcode() const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:15: error: 'optional' in namespace 'std' does not name a template type 544 | static std::optional getFunctionalOpcodeForVP(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:544:10: note: 'std::optional' is only available from C++17 onwards 544 | static std::optional getFunctionalOpcodeForVP(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:15: error: 'optional' in namespace 'std' does not name a template type 555 | static std::optional getStartParamPos(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:555:10: note: 'std::optional' is only available from C++17 onwards 555 | static std::optional getStartParamPos(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:15: error: 'optional' in namespace 'std' does not name a template type 556 | static std::optional getVectorParamPos(Intrinsic::ID ID); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:556:10: note: 'std::optional' is only available from C++17 onwards 556 | static std::optional getVectorParamPos(Intrinsic::ID ID); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:8: error: 'optional' in namespace 'std' does not name a template type 606 | std::optional getRoundingMode() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:606:3: note: 'std::optional' is only available from C++17 onwards 606 | std::optional getRoundingMode() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:8: error: 'optional' in namespace 'std' does not name a template type 607 | std::optional getExceptionBehavior() const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:607:3: note: 'std::optional' is only available from C++17 onwards 607 | std::optional getExceptionBehavior() const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:847:35: error: return type 'struct llvm::MaybeAlign' is incomplete 847 | MaybeAlign getDestAlign() const { return getParamAlign(ARG_DEST); } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:856:36: error: 'Alignment' has incomplete type 856 | void setDestAlignment(MaybeAlign Alignment) { | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:909:37: error: return type 'struct llvm::MaybeAlign' is incomplete 909 | MaybeAlign getSourceAlign() const { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:919:38: error: 'Alignment' has incomplete type 919 | void setSourceAlignment(MaybeAlign Alignment) { | ~~~~~~~~~~~^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign' 117 | struct MaybeAlign : public std::optional { | ^~~~~~~~~~ --- lib/CMakeFiles/obj.Polly.dir/Analysis/ScopDetection.cpp.o --- *** [lib/CMakeFiles/obj.Polly.dir/Analysis/ScopDetection.cpp.o] Error code 1 make[2]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:6: error: 'optional' in namespace 'std' does not name a template type 526 | std::optional findMetadataOperand(llvm::MDNode *LoopMD, | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:526:1: note: 'std::optional' is only available from C++17 onwards 526 | std::optional findMetadataOperand(llvm::MDNode *LoopMD, | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:6: error: 'optional' in namespace 'std' does not name a template type 534 | std::optional getOptionalIntLoopAttribute(llvm::MDNode *LoopID, | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:534:1: note: 'std::optional' is only available from C++17 onwards 534 | std::optional getOptionalIntLoopAttribute(llvm::MDNode *LoopID, | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:43, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:15: error: 'optional' in namespace 'std' does not name a template type 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:246:10: note: 'std::optional' is only available from C++17 onwards 246 | static std::optional getOrNone(const Instruction *Inst); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:15: error: 'optional' in namespace 'std' does not name a template type 258 | static std::optional getForDest(const CallBase *CI, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:258:10: note: 'std::optional' is only available from C++17 onwards 258 | static std::optional getForDest(const CallBase *CI, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h: In static member function 'static llvm::MemoryLocation llvm::MemoryLocation::get(const llvm::Instruction*)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/MemoryLocation.h:244:29: error: 'getOrNone' is not a member of 'llvm::MemoryLocation' 244 | return *MemoryLocation::getOrNone(Inst); | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:164:41: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion 399 | static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 2; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::AAQueryInfo::CacheEntry, 8>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:259:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:51, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:39: error: 'optional' in namespace 'std' does not name a template type 498 | const std::optional &OptLoc) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:34: note: 'std::optional' is only available from C++17 onwards 498 | const std::optional &OptLoc) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:47: error: expected ',' or '...' before '<' token 498 | const std::optional &OptLoc) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:39: error: 'optional' in namespace 'std' does not name a template type 592 | const std::optional &OptLoc, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:34: note: 'std::optional' is only available from C++17 onwards 592 | const std::optional &OptLoc, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:47: error: expected ',' or '...' before '<' token 592 | const std::optional &OptLoc, | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:591:14: error: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' cannot be overloaded with 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 591 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: previous declaration 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 497 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:500:29: error: 'OptLoc' was not declared in this scope 500 | return getModRefInfo(I, OptLoc, AAQIP); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:506:52: error: no matching function for call to 'llvm::AAResults::getModRefInfo(const llvm::Instruction*&, llvm::MemoryLocation)' 506 | return getModRefInfo(I, MemoryLocation(P, Size)); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:497:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, int)' 497 | ModRefInfo getModRefInfo(const Instruction *I, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:28: note: no known conversion for argument 2 from 'llvm::MemoryLocation' to 'int' 498 | const std::optional &OptLoc) { | ^~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::Value*, llvm::LocationSize)' 504 | ModRefInfo getModRefInfo(const Instruction *I, const Value *P, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:504:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*)' 511 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:511:66: note: no known conversion for argument 2 from 'llvm::MemoryLocation' to 'const llvm::CallBase*' 511 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call); | ~~~~~~~~~~~~~~~~^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::Instruction*, const llvm::CallBase*, llvm::AAQueryInfo&)' 569 | ModRefInfo getModRefInfo(const Instruction *I, const CallBase *Call2, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:569:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 571 | ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:571:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CallBase*, const llvm::CallBase*, llvm::AAQueryInfo&)' 573 | ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:573:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::VAArgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 575 | ModRefInfo getModRefInfo(const VAArgInst *V, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:575:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::LoadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 577 | ModRefInfo getModRefInfo(const LoadInst *L, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:577:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::StoreInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 579 | ModRefInfo getModRefInfo(const StoreInst *S, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:579:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::FenceInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 581 | ModRefInfo getModRefInfo(const FenceInst *S, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:581:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicCmpXchgInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 583 | ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:583:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::AtomicRMWInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 585 | ModRefInfo getModRefInfo(const AtomicRMWInst *RMW, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:585:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchPadInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 587 | ModRefInfo getModRefInfo(const CatchPadInst *I, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:587:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate: 'llvm::ModRefInfo llvm::AAResults::getModRefInfo(const llvm::CatchReturnInst*, const llvm::MemoryLocation&, llvm::AAQueryInfo&)' 589 | ModRefInfo getModRefInfo(const CatchReturnInst *I, const MemoryLocation &Loc, | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:589:14: note: candidate expects 3 arguments, 2 provided /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:39: error: 'optional' in namespace 'std' does not name a template type 641 | const std::optional &OptLoc) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:34: note: 'std::optional' is only available from C++17 onwards 641 | const std::optional &OptLoc) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:47: error: expected ',' or '...' before '<' token 641 | const std::optional &OptLoc) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h: In member function 'llvm::ModRefInfo llvm::BatchAAResults::getModRefInfo(const llvm::Instruction*, int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:642:32: error: 'OptLoc' was not declared in this scope 642 | return AA.getModRefInfo(I, OptLoc, AAQI); | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:40, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' 100 | using StackElement = std::pair>; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: error: 'optional' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:48: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:100:57: error: template argument 2 is invalid 100 | using StackElement = std::pair>; | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:15: error: 'StackElement' was not declared in this scope 103 | std::vector VisitStack; | ^~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 1 is invalid 103 | std::vector VisitStack; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 2 is invalid /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:16: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:50: error: 'nullopt' is not a member of 'std' 107 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In constructor 'llvm::df_iterator::df_iterator(llvm::df_iterator::NodeRef, SetType&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:18: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:115:52: error: 'nullopt' is not a member of 'std' 115 | VisitStack.push_back(StackElement(Node, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'void llvm::df_iterator::toNext()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:125:33: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 125 | NodeRef Node = VisitStack.back().first; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: error: 'optional' is not a member of 'std' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:30: error: expected primary-expression before '>' token 126 | std::optional &Opt = VisitStack.back().second; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:33: error: 'Opt' was not declared in this scope 126 | std::optional &Opt = VisitStack.back().second; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:126:50: error: request for member 'back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 126 | std::optional &Opt = VisitStack.back().second; | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:22: error: request for member 'push_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:139:56: error: 'nullopt' is not a member of 'std' 139 | VisitStack.push_back(StackElement(Next, std::nullopt)); | ^~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:146:18: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 146 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:147:26: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 147 | } while (!VisitStack.empty()); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'const NodeRef& llvm::df_iterator::operator*() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:168:56: error: request for member 'back' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 168 | const NodeRef &operator*() const { return VisitStack.back().first; } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator& llvm::df_iterator::skipChildren()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:186:16: error: request for member 'pop_back' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 186 | VisitStack.pop_back(); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:187:21: error: request for member 'empty' in '((llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'int' 187 | if (!VisitStack.empty()) | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'unsigned int llvm::df_iterator::getPathLength() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:208:54: error: request for member 'size' in '((const llvm::df_iterator*)this)->llvm::df_iterator::VisitStack', which is of non-class type 'const int' 208 | unsigned getPathLength() const { return VisitStack.size(); } | ^~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h: In member function 'llvm::df_iterator::NodeRef llvm::df_iterator::getPath(unsigned int) const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:212:56: error: invalid types 'const int[unsigned int]' for array subscript 212 | NodeRef getPath(unsigned n) const { return VisitStack[n].first; } | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Dominators.h:36, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:45, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h: In static member function 'static llvm::DomTreeBuilder::SemiNCAInfo::RootsT llvm::DomTreeBuilder::SemiNCAInfo::FindRoots(const DomTreeT&, llvm::DomTreeBuilder::SemiNCAInfo::BatchUpdatePtr)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: error: 'optional' is not a member of 'std' 407 | std::optional SuccOrder; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:12: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:33: error: expected primary-expression before '>' token 407 | std::optional SuccOrder; | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h:407:35: error: 'SuccOrder' was not declared in this scope 407 | std::optional SuccOrder; | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:32, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:8: error: 'optional' in namespace 'std' does not name a template type 337 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:337:3: note: 'std::optional' is only available from C++17 onwards 337 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:8: error: 'optional' in namespace 'std' does not name a template type 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ConstantRange.h:342:3: note: 'std::optional' is only available from C++17 onwards 342 | std::optional exactUnionWith(const ConstantRange &CR) const; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:37, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:8: error: 'optional' in namespace 'std' does not name a template type 93 | std::optional MDMap; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:93:3: note: 'std::optional' is only available from C++17 onwards 93 | std::optional MDMap; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:8: error: 'optional' in namespace 'std' does not name a template type 119 | std::optional &getMDMap() { return MDMap; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:119:3: note: 'std::optional' is only available from C++17 onwards 119 | std::optional &getMDMap() { return MDMap; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:8: error: 'optional' in namespace 'std' does not name a template type 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:122:3: note: 'std::optional' is only available from C++17 onwards 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'bool llvm::ValueMap::hasMD() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:113:36: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 113 | bool hasMD() const { return bool(MDMap); } | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'llvm::ValueMap::MDMapT& llvm::ValueMap::MD()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:115:10: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 115 | if (!MDMap) | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:117:13: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 117 | return *MDMap; | ^~~~~ | MDMapT /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'void llvm::ValueMap::clear()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:147:5: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 147 | MDMap.reset(); | ^~~~~ | MDMapT In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:8: error: 'optional' in namespace 'std' does not name a template type 546 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:3: note: 'std::optional' is only available from C++17 onwards 546 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:8: error: 'optional' in namespace 'std' does not name a template type 624 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:624:3: note: 'std::optional' is only available from C++17 onwards 624 | std::optional>> | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:8: error: 'optional' in namespace 'std' does not name a template type 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1057:3: note: 'std::optional' is only available from C++17 onwards 1057 | std::optional evaluatePredicate(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:8: error: 'optional' in namespace 'std' does not name a template type 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1068:3: note: 'std::optional' is only available from C++17 onwards 1068 | std::optional evaluatePredicateAt(ICmpInst::Predicate Pred, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:8: error: 'optional' in namespace 'std' does not name a template type 1157 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1157:3: note: 'std::optional' is only available from C++17 onwards 1157 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:8: error: 'optional' in namespace 'std' does not name a template type 1173 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1173:3: note: 'std::optional' is only available from C++17 onwards 1173 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:8: error: 'optional' in namespace 'std' does not name a template type 1183 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1183:3: note: 'std::optional' is only available from C++17 onwards 1183 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:8: error: 'optional' in namespace 'std' does not name a template type 1190 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1190:3: note: 'std::optional' is only available from C++17 onwards 1190 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:8: error: 'optional' in namespace 'std' does not name a template type 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1276:3: note: 'std::optional' is only available from C++17 onwards 1276 | std::optional computeConstantDifference(const SCEV *LHS, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:8: error: 'optional' in namespace 'std' does not name a template type 1715 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1715:3: note: 'std::optional' is only available from C++17 onwards 1715 | std::optional | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::ScalarEvolution::ExitLimit>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1774:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:10: error: 'optional' in namespace 'std' does not name a template type 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1784:5: note: 'std::optional' is only available from C++17 onwards 1784 | std::optional find(const Loop *L, Value *ExitCond, | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:8: error: 'optional' in namespace 'std' does not name a template type 1803 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1803:3: note: 'std::optional' is only available from C++17 onwards 1803 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:8: error: 'optional' in namespace 'std' does not name a template type 2075 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2075:3: note: 'std::optional' is only available from C++17 onwards 2075 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:8: error: 'optional' in namespace 'std' does not name a template type 2139 | std::optional>> | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:2139:3: note: 'std::optional' is only available from C++17 onwards 2139 | std::optional>> | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std' 1109 | std::nullopt); | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In constructor 'llvm::SCEVNAryExpr::SCEVNAryExpr(llvm::FoldingSetNodeIDRef, llvm::SCEVTypes, const llvm::SCEV* const*, size_t)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:190:51: error: missing template arguments before '(' token 190 | : SCEV(ID, T, computeExpressionSize(ArrayRef(O, N))), Operands(O), | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h: In member function 'llvm::ArrayRef llvm::SCEVNAryExpr::operands() const': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:202:20: error: missing template arguments before '(' token 202 | return ArrayRef(Operands, NumOperands); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopInfo.cpp:19: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LegacyPassManagers.h:243:49: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::detail::DenseSetPair >': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:55:17: required from 'class llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair >, llvm::DenseMapInfo >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:286:7: required from 'class llvm::SmallDenseSet >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:293:12: required from 'class llvm::SetVector, llvm::SmallDenseSet > >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:300:7: required from 'class llvm::SmallSetVector' /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:392:38: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: At global scope: /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:1665:8: error: 'optional' in namespace 'std' does not name a template type 1665 | std::optional name; | ^~~~~~~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:1665:3: note: 'std::optional' is only available from C++17 onwards 1665 | std::optional name; | ^~~ /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: In member function 'llvm::StringRef polly::Scop::getName()': /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2049:10: error: 'name' was not declared in this scope; did you mean 'tzname'? 2049 | if (!name) | ^~~~ | tzname /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2051:13: error: 'name' was not declared in this scope; did you mean 'tzname'? 2051 | return *name; | ^~~~ | tzname In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, llvm::detail::DenseSetPair >': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:55:17: required from 'class llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair >, llvm::DenseMapInfo >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:286:7: required from 'class llvm::SmallDenseSet >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:293:12: required from 'class llvm::SetVector, llvm::SmallDenseSet > >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:300:7: required from 'class llvm::SmallSetVector' /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:60:31: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion 890 | static_assert(isPowerOf2_64(InlineBuckets), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: in 'constexpr' expansion of 'llvm::isPowerOf2_64(16)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:19, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:16: error: 'std::optional' has not been declared 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:24: error: expected ',' or '...' before '<' token 100 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:25: error: 'std::optional' has not been declared 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:33: error: expected ',' or '...' before '<' token 114 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:20: error: 'std::optional' has not been declared 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:28: error: expected ',' or '...' before '<' token 128 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:23: error: 'std::optional' has not been declared 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:31: error: expected ',' or '...' before '<' token 152 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:21: error: 'std::optional' has not been declared 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:29: error: expected ',' or '...' before '<' token 158 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:11: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFile(const llvm::Twine&, bool, bool, bool, int)' 100 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:98:39: note: ...following parameter 2 which has a default argument 98 | getFile(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:20: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFileSlice(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, int64_t, bool, int)' 114 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:113:41: note: ...following parameter 5 which has a default argument 113 | int64_t Offset, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:15: error: default argument missing for parameter 6 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getOpenFile(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, bool, bool, int)' 128 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:127:20: note: ...following parameter 4 which has a default argument 127 | bool RequiresNullTerminator = true, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:18: error: default argument missing for parameter 4 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileOrSTDIN(const llvm::Twine&, bool, bool, int)' 152 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:150:46: note: ...following parameter 2 which has a default argument 150 | getFileOrSTDIN(const Twine &Filename, bool IsText = false, | ~~~~~^~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::MemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 158 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:157:21: note: ...following parameter 4 which has a default argument 157 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:16: error: 'std::optional' has not been declared 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:24: error: expected ',' or '...' before '<' token 204 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:21: error: 'std::optional' has not been declared 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:29: error: expected ',' or '...' before '<' token 210 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:30: error: 'std::optional' has not been declared 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:38: error: expected ',' or '...' before '<' token 220 | std::optional Alignment = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:11: error: default argument missing for parameter 3 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFile(const llvm::Twine&, bool, int)' 204 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:203:39: note: ...following parameter 2 which has a default argument 203 | getFile(const Twine &Filename, bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:16: error: default argument missing for parameter 5 of 'static llvm::ErrorOr > llvm::WritableMemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)' 210 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:209:21: note: ...following parameter 4 which has a default argument 209 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:25: error: default argument missing for parameter 3 of 'static std::unique_ptr llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t, const llvm::Twine&, int)' 220 | std::optional Alignment = std::nullopt); | ^~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:219:51: note: ...following parameter 2 which has a default argument 219 | getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "", | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:20, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:10: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses] 53 | SMRange(std::nullopt_t) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:11: error: invalid use of '::' 53 | SMRange(std::nullopt_t) {} | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:28: error: expected ';' at end of member declaration 53 | SMRange(std::nullopt_t) {} | ^ | ; In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h: In constructor 'llvm::SMDiagnostic::SMDiagnostic(llvm::StringRef, llvm::SourceMgr::DiagKind, llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:297:77: note: candidate expects 3 arguments, 1 provided 297 | : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:8: error: 'optional' in namespace 'std' does not name a template type 482 | std::optional getHotness() const { return Hotness; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:482:3: note: 'std::optional' is only available from C++17 onwards 482 | std::optional getHotness() const { return Hotness; } | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:24: error: 'std::optional' has not been declared 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:32: error: expected ',' or '...' before '<' token 483 | void setHotness(std::optional H) { Hotness = H; } | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:8: error: 'optional' in namespace 'std' does not name a template type 524 | std::optional Hotness; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:524:3: note: 'std::optional' is only available from C++17 onwards 524 | std::optional Hotness; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:432:67: note: candidate expects 3 arguments, 1 provided 432 | explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef, bool)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; = ; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 638 | basic_string(_InputIterator __beg, _InputIterator __end, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:638:9: note: template argument deduction/substitution failed: In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: note: candidate expects 3 arguments, 1 provided 445 | Argument(StringRef Key, bool B) : Key(Key), Val(B ? "true" : "false") {} | ^ In file included from /usr/include/g++/string:55, from /usr/include/g++/bits/locale_classes.h:40, from /usr/include/g++/bits/ios_base.h:41, from /usr/include/g++/streambuf:41, from /usr/include/g++/bits/streambuf_iterator.h:35, from /usr/include/g++/iterator:66, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 600 | basic_string(basic_string&& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:600:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:596:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 596 | basic_string(const basic_string& __str, const _Alloc& __a) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:596:7: note: candidate expects 2 arguments, 1 provided /usr/include/g++/bits/basic_string.h:592:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_Tp>, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:592:45: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::initializer_list' 592 | basic_string(initializer_list<_CharT> __l, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:565:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 565 | basic_string(basic_string&& __str) noexcept | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:565:35: note: no known conversion for argument 1 from 'llvm::StringRef' to 'std::__cxx11::basic_string&&' 565 | basic_string(basic_string&& __str) noexcept | ~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 553 | basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:553:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:533:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const char*' 533 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 518 | basic_string(const _CharT* __s, size_type __n, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:518:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 500 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:500:7: note: candidate expects 4 arguments, 1 provided /usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 484 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:484:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:469:7: note: candidate expects 3 arguments, 1 provided /usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 456 | basic_string(const basic_string& __str) | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:456:40: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::__cxx11::basic_string&' 456 | basic_string(const basic_string& __str) | ~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/g++/bits/basic_string.h:448:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:448:34: note: no known conversion for argument 1 from 'llvm::StringRef' to 'const std::allocator&' 448 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT | ~~~~~~~~~~~~~~^~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' 439 | basic_string() | ^~~~~~~~~~~~ /usr/include/g++/bits/basic_string.h:439:7: note: candidate expects 0 arguments, 1 provided In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:20: /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In member function 'void llvm::DiagnosticInfoOptimizationBase::setHotness(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:48: error: 'Hotness' was not declared in this scope; did you mean 'setHotness'? 483 | void setHotness(std::optional H) { Hotness = H; } | ^~~~~~~ | setHotness /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:483:58: error: 'H' was not declared in this scope 483 | void setHotness(std::optional H) { Hotness = H; } | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:27: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:65:24: error: 'std::optional' has not been declared 65 | bool insertEdge(std::optional From, NodeRef To) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:65:32: error: expected ',' or '...' before '<' token 65 | bool insertEdge(std::optional From, NodeRef To) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: In member function 'bool llvm::po_iterator_storage::insertEdge(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:66:27: error: 'To' was not declared in this scope 66 | return Visited.insert(To).second; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:86:24: error: 'std::optional' has not been declared 86 | bool insertEdge(std::optional From, NodeRef To) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:86:32: error: expected ',' or '...' before '<' token 86 | bool insertEdge(std::optional From, NodeRef To) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: In member function 'bool llvm::po_iterator_storage::insertEdge(int)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:87:27: error: 'To' was not declared in this scope 87 | return Visited.insert(To).second; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: In constructor 'llvm::po_iterator::po_iterator(llvm::po_iterator::NodeRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:114:27: error: 'optional' is not a member of 'std' 114 | this->insertEdge(std::optional(), BB); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:114:27: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:114:43: error: expected primary-expression before '>' token 114 | this->insertEdge(std::optional(), BB); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:114:45: error: expected primary-expression before ')' token 114 | this->insertEdge(std::optional(), BB); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: In constructor 'llvm::po_iterator::po_iterator(llvm::po_iterator::NodeRef, SetType&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:123:31: error: 'optional' is not a member of 'std' 123 | if (this->insertEdge(std::optional(), BB)) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:123:31: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:123:47: error: expected primary-expression before '>' token 123 | if (this->insertEdge(std::optional(), BB)) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:123:49: error: expected primary-expression before ')' token 123 | if (this->insertEdge(std::optional(), BB)) { | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h: In member function 'void llvm::po_iterator::traverseChild()': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:136:33: error: 'optional' is not a member of 'std' 136 | if (this->insertEdge(std::optional(VisitStack.back().first), | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:136:33: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PostOrderIterator.h:136:49: error: expected primary-expression before '>' token 136 | if (this->insertEdge(std::optional(VisitStack.back().first), | ^ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:29: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallSet.h: In member function 'std::pair, bool> llvm::SmallSet::insert(const T&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallSet.h:179:12: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 179 | auto [I, Inserted] = Set.insert(V); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:17, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:36: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:70:8: error: 'optional' in namespace 'std' does not name a template type 70 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:70:3: note: 'std::optional' is only available from C++17 onwards 70 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:76:8: error: 'optional' in namespace 'std' does not name a template type 76 | std::optional getProfileCountFromFreq(uint64_t Freq) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BlockFrequencyInfo.h:76:3: note: 'std::optional' is only available from C++17 onwards 76 | std::optional getProfileCountFromFreq(uint64_t Freq) const; | ^~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:36: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:119:8: error: 'optional' in namespace 'std' does not name a template type 119 | std::optional computeHotness(const Value *V); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:119:3: note: 'std::optional' is only available from C++17 onwards 119 | std::optional computeHotness(const Value *V); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = llvm::Use*; FuncTy = llvm::BasicBlock* (*)(llvm::Value*); ReferenceTy = llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4420:58: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'llvm::BasicBlock* (*)(llvm::Value*)'} to 'int' [-fpermissive] 414 | : mapped_iterator::iterator_adaptor_base(std::move(U)), F(std::move(F)) {} | ^ | | | std::remove_reference::type {aka llvm::BasicBlock* (*)(llvm::Value*)} /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator::mapped_iterator(ItTy, FuncTy) [with ItTy = const llvm::Use*; FuncTy = const llvm::BasicBlock* (*)(const llvm::Value*); ReferenceTy = const llvm::BasicBlock*]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:4429:69: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:414:75: error: invalid conversion from 'std::remove_reference::type' {aka 'const llvm::BasicBlock* (*)(const llvm::Value*)'} to 'int' [-fpermissive] /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32: required from 'llvm::DenseMap::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12: required from 'class llvm::TinyPtrVector' /usr/include/g++/bits/stl_pair.h:218:11: required from 'struct std::pair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8: required from 'struct llvm::detail::DenseMapPair >' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32: required from 'llvm::DenseMap::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:193:44: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ --- lib/CMakeFiles/obj.Polly.dir/Analysis/ScopInfo.cpp.o --- *** [lib/CMakeFiles/obj.Polly.dir/Analysis/ScopInfo.cpp.o] Error code 1 make[2]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion 399 | static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 2; size_t = unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56: required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50: in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42: required from 'llvm::detail::UniqueFunctionBase::~UniqueFunctionBase() [with ReturnT = void; ParamTs = {llvm::StringRef, llvm::Any}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:363:7: required from 'void llvm::SmallVectorTemplateBase >::pop_back() [with T = llvm::unique_function; bool = false]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:326:57: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: required from 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:170:8: error: incomplete type 'llvm::detail::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' used in nested name specifier 170 | struct TypesAreDistinct | ^~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopBuilder.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopBuilder.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnion::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44: required from 'bool llvm::detail::UniqueFunctionBase::isTrivialCallback() const [with ReturnT = void; ParamTs = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:188:12: required from 'ReturnT (* llvm::detail::UniqueFunctionBase::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase::AdjustedParamT...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase::CallPtrT = void (*)(void*, llvm::StringRef)]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28: required from 'R llvm::unique_function::operator()(P ...) [with R = void; P = {llvm::StringRef}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:305:15: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43: error: 'value' is not a member of 'llvm::TypesAreDistinct::TrivialCallback*, llvm::detail::UniqueFunctionBase::NonTrivialCallbacks*>' 119 | static_assert(TypesAreDistinct::value, | ^~~~~ --- lib/CMakeFiles/obj.Polly.dir/Analysis/ScopBuilder.cpp.o --- *** [lib/CMakeFiles/obj.Polly.dir/Analysis/ScopBuilder.cpp.o] Error code 1 make[2]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build 6 errors make[2]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build --- lib/CMakeFiles/obj.Polly.dir/all --- *** [lib/CMakeFiles/obj.Polly.dir/all] Error code 2 make[1]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build 2 errors make[1]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build *** [all] Error code 2 make: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build 1 error make: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/devel/polly *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/polly