=> 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 CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/ScopDetection.cpp.o [ 5%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/basis_reduction_tab.c.o [ 5%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/PolyhedralInfo.cpp.o [ 5%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_aff_map.c.o [ 5%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_aff.c.o [ 5%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/ScopDetectionDiagnostic.cpp.o [ 5%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/ScopInfo.cpp.o [ 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/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/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': 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, ...) \ | /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 'long 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 'long 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 'long 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 int'} to '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_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, ...) \ | /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 'long 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_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 'long 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 'long 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 'long 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 int'} to '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_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:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'long 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 'long 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 'long 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: In function 'isl_sioimath_siarg_src': /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 'long 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: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 int'} to '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/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_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 'long 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 'long 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 'long 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 'long 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_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_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 'long 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_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 'long 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: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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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 'long 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) | ^ /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 'long 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 'long 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 'long 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_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) | ^ /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 'long 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] 541 | if (pw1->size < pw1->n + pw2->n && pw1->n < pw2->n) | ^ /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_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_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) { | ^ 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/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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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; | ^~~ /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) | ^ [ 8%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/ScopBuilder.cpp.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: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) | ^ [ 8%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_affine_hull.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/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> { | ^~ 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/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, | ^ 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> { | ^~ /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; | ^~~~~~~~ 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/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/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> { | ^~ /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/lib/Analysis/ScopInfo.cpp:19: /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/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; | ^~~~~~~~ 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; | ^~~~~~~~ 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/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, | ^ /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/.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/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, ...) \ | 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 'long 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 'long 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 'long 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 int'} to '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_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_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 'long 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_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_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_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_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) | ^ 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> { | ^~ /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/.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/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/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/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/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/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/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/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/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/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/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/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 >> | ^ /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/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/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); } | ^~~~~~~~ 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, /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); } | ^~~~~~~~ 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/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); } | ^~~~~~~~ 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/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/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/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/.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/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 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/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 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/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 { | ~~ 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/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...>; | ^~~ 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) | ^~~~~~~~~ /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: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/.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/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/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; | ^~~~~~~ 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/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/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/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/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/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/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/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/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/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/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/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/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))); | ^~~~~~~~ /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; } | ^~~ 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/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); | ^ /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>; | ^ 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/.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/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/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/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/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/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/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/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/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/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/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/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 /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 | ...); | ^~~ 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: 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: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> | ^~~~~~~~~~~~~~ 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/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> | ^ 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 /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/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: 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: 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: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: 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: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 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 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/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/.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: 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/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/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/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> | ^~~~~~~~~~~~~~ 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/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/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/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/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/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/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/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/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/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); } | ^~~~~~~~ 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/ADT/STLExtras.h:324:14: error: 'Func' was not declared in this scope 324 | return Func; | ^~~~ /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/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/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))); | ^~~~~~~~ /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{}; | ^ 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/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 | ...); | ^~~ 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/.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); | ^~~ /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) { | ^~~~~ 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/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: 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: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: 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/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) {} | ^~~~~~~~ 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/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/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/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/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/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/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/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/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))); | ^~~~~~~~ /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; } | ^~~ 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/.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/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/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/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); | ^~~ /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/.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/.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: 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: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/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) { | ^~~~~~~~~ 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, /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) { | ^ 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> | ^ 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/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/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: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: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/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/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/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/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 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/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/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/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 | ^ 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, /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> | ^~~~~~~~~~~~~~ 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/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/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/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/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/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/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/ADT/STLExtras.h:324:14: error: 'Func' was not declared in this scope 324 | return Func; | ^~~~ /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/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{}; | ^ 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> { | ^~ /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 | ...); | ^~~ 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 { | ^~~~~~~~~~ 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 /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 { | ^~~~~~~~~~ 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/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/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/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/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...>; | ^~~ 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/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/ADT/StringRef.h:248:14: error: expected type-specifier 248 | operator std::string_view() const { | ^~~ /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) { | ^~~~~ 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/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/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/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/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/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/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/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 >> | ^ /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/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, | ^ 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/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) {} | ^ | ; 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/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/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/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/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/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/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/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/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/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/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/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/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; | ^~~~~~~~ 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/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/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> { | ^~ /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/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/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/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); | ^ 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, | ^ 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/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/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 { | ^~~~~~~~~~ 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/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, /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 | ^~~~~~~~~~~~~~~~ from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/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 { | ^~~~~~~~~~ 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/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/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 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/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) | ^~~~~~~~~ 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/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/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/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 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/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, | ^ /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; | ^ 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/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/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/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; | ^~ 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/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/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/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/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/Casting.h:610:50: error: 'optional' is not a member of 'std' 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/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/Casting.h:610:50: note: 'std::optional' is only available from C++17 onwards /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/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/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); } | ^~~~~~~~ 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/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/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 | ^~~~~~~~~~~~~~~~ /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); } | ^~~~~~~~ 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, /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); } | ^~~~~~~~ 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, | ^~~~~ /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); | ^~~~~~~~ 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/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))); | ^~~~~~~~ /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/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); | ^ 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 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/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/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/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. | ^~~~~~~~~~ /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/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 { | ^~~~~~~~~~ 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/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 { | ^~~~~~~~~~ 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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 /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> | ^~~~~~~~~~~~~~ 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/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/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/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/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/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/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/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/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/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/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/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>; | ^ 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/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/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/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/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/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) | ^~~~~~~~~ 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/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/.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 /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/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/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 = {}); | ^ 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: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/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/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/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/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 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/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/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/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/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/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/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/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/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/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; | ^~~ /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/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/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/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/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/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)); | ^ 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); | ^ 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, | ^~~~~ 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 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/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/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; | ^~~ 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/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); | ^ 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) { | ^~~ 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/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/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(); | ^~~~ /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(); | ^~~~ /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 { | ^ /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/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/.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) { | ^~~ 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/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/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/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/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/.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/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/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/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/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 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 { | ^~~ /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; | ^~~~~~~ [ 8%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/ScopGraphPrinter.cpp.o 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/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/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/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/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: 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/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 *> | ^ | ; /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, /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, 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); 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/.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, | ^~~~~~~~~~~~~~~~~~ | uninitialized_copy from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/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' from /pbulk/work/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 { | ^~~~~~~~~~ 245 | static std::enable_if_t::value, StructType *> | ^~~~~ 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 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/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> | ^~~~~ 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; | ^~~ /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 { | ^~~~~~~~~~ /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/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/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/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; | ^~~ 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/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/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/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) { | ^~~ /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/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/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/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/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/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) { | ^ 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/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/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) { | ^~~ /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/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 /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/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 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, 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) | ^~~ 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 = long 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 = long 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 = long 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 = long 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 = long 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/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/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/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()); | ^ 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()); | ^ 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; | ^~~ 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; | ^~~ /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; | ^~~ 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) | ^~~~~~~~~ /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/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: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/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/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/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 /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); } | ^~~~~~~~ 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/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/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/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/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/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/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/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/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/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, | ^~~~~~~~~~~ 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: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/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/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/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/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/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:244:25: error: 'ByteGroupSize' was not declared in this scope 244 | ByteGroupSize, Upper, false); | ^~~~~~~~~~~~~ /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/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 /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/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/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, | ^ /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/.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; | ^~~ 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...>; | ^~~ 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 | ^~~~~~ /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: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: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: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/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/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, | ^ 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 { | ^ /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> | ^~~~~~~~~~~~~~ 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/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/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 { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std' 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/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/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); | ^ 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/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/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/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/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/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/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: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/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/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/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, /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; | ^~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/STLExtras.h:250:16: error: 'nullopt' is not a member of 'std' 250 | Obj = 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/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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 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/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/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/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 { | ^~~~~~~~~~ /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>; | ^ 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/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/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: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/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/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/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/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/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/Attributes.h:1114:35: error: return type 'struct llvm::MaybeAlign' is incomplete 1114 | MaybeAlign getAlignment() const { | ^ /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/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/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/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); /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, 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/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/include/polly/ScopDetection.h:49, from /pbulk/work/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); /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< 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/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); | ^~~~~~~~~~~~~ | ^ 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/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 { | ^~~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_longest_iterator::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 | ...); | ^~~ 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/.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) { | ^ 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/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/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/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: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/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/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 /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) { | ^~~~~ 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/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/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/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) { | ^ 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/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/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/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/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, /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, 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' | ^ 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' 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, 107 | inline constexpr force_iteration_on_noniterable_enum_t | ^~~~~~ 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 /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/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: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 /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()); | ^ 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/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; | ^~~ 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 *> | ^~~~~ 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()); | ^ /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()); | ^ 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()); | ^ 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/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/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/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: 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/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/.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()); | ^ 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> { | ^~ 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/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> { | ^~ /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 { | ^ 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: 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'? /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' /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/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, 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/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, 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/Support/Error.h:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 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' /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()); | ^ 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 { | ^~~~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/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 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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' 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:512:34: error: 'is_convertible_v' is not a member of 'std'; did you mean 'is_convertible'? 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/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, /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) { | ^~~~~~~~~~~~~~~~ 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, 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) | ^ 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, 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, /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) { | ^ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/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/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/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/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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) { | ^~ 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); | ^ 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, 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/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 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/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, 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/ScopDetection.h:49, from /pbulk/work/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); from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/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, | ^ 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/.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/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/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 { | ^~~~~~~~~~ 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/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/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: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/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: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/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; | ^~~ 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/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: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/.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; | ^~~ /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); | ^ 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/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/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/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/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/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; | ^~~ 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 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/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/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/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/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/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/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 | ^~~~~~ /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); | ^~~~~~~~~~~~~ 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) | ^~~~~~~~~ /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/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 | ^~~~~~ 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, | ^~~~~ /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, | ^~~~~~~ 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/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/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/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/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/.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, | ^~~~~~~ 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( | ^ 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/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/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/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: 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/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/IR/Instructions.h:3661:3: error: 'CaseWeightOpt' does not name a type 3661 | CaseWeightOpt getSuccessorWeight(unsigned idx); | ^~~~~~~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/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/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 { | ^~~~~~~~~~ /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, | ^~~~~~~ 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 { | ^~~ /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, | ^~~~~~~ /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/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 { | ^~~~~~~~~~ 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 { | ^~~~~~~~~~ /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, | ^~~~~~~ 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; | ^~~ 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/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/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/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/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, | ^~~~~ /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/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 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/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/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, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/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: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/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/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, | ^~~~~~~ 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/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/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/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: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/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/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 { | ^~~ /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, | ^~~~~~~ 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; | ^~~ /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); | ^~~~~~~ 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/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 /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: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/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, /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); | ^~~~~~~ from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/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); | ^ /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/.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) { | ^~~ /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 { | ^~~~~~~~~~ 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/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/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/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/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/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: 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/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/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/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); | ^ 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/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/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/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, | ^~~~~~~ /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: 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: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: 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: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: 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: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/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/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/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/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/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 { | ^ 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/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, /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); } | ^ 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 /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 = long 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 = long 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 = long 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 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: /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 = long 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/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 /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 = long 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::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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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/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 /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 = long 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 = long 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 = long 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]' /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/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, 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 | ~~~~~~~~~~~~~~^~~ 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: /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/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, /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/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/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/.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: from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/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, /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/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 = long 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 = long 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 = long 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 = long 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 = long 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/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/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/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/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; | ^~~ 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/.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/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) { | ^ 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 /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 /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 = long 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 = long 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 = long 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 = long 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/raw_ostream.h:765:16: error: 'nullopt' is not a member of 'std' 765 | OS << std::nullopt; | ^~~~~~~ /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 = long 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 | ^~~~~~~~~~~~ /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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 | ^~~~~~~~~~~~ /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) { | ^~~ /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 = long 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 = long 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 = long 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 = long 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 = long 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: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; | ^~~~~~~ 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, 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 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/lib/Analysis/ScopDetectionDiagnostic.cpp:20: 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) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: note: 'std::disjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:77:28: error: wrong number of template arguments (4, should be at least 1) 77 | Ret>>::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, /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; | ^~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/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' 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/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/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/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/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/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 { | ^~~ 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()); | ^ 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, | ^~~~~ /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 *> | ^~~~~ 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 { | ^~~ /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/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/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()); | ^ 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 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/ADT/FunctionExtras.h:68:48: note: 'std::disjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: note: 'std::disjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:77:28: error: wrong number of template arguments (4, should be at least 1) 77 | Ret>>::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/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/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/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/.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 { | ^~~~~~~~~~ /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/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/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/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; | ^~~ 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, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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); | ^ 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: 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/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/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/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/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/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/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/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/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; | ^~~ 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); | ^ /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/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, | ^ 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/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/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, 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/.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 = long 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 = long 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 = long 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 = long 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 = long 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) | ^~~~~~~~~~~~ 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: /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/.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 { | ^~~ /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/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/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 '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/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; } | ^ /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/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 { | ^~~~~~~~~~ /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/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); | ^ /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 { | ^~~~~~~~~~ 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 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, 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_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, | ^ | ^~~~~~~~~~~ | 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: 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 { | ^~~~~~~~~~ /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, | ^ /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/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 | ^~~~~~ /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, | ^ 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 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: /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 { | ^ /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 = long 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 = long 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 = long 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 = long 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 = long 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 | ~~~~~~~~~~~~~~^~~ /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) | ^~~~~~~~~ /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/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/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, | ^ 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))); | ^ /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/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/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, | ^~~~~~~~~~~ /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, | ^~~~~~~~~~ /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); | ^~~~~~~~~~~~~ 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()); | ^ /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/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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()); | ^ 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, | ^ /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/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/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 /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 *> | ^ | ; /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/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, /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, | ^ 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, /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, | ^~~~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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' /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, | ^~~~~~~~ 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++/bits/stl_algobase.h:64, from /usr/include/g++/bits/char_traits.h:39, /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token 249 | std::optional FirstByteOffset = std::nullopt, | ^ 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/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, | ^~~~~~~~~~ /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/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()); | ^ 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/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/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/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); } | ^ 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; | ^~~ 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 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 = long 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 = long 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/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) | ^ /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 = long 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 = long 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 = long 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 /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 /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 = long 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 = long 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 = long 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 = long 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 = long 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 | ^~~~~~~~~~~~ /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) | ^~ /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::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 /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 /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 = long 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 = long 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/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) | ^~~~~~~~~~~ /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 = long 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/Support/Error.h:512:28: error: expected ',' or '...' before '<' token 512 | std::enable_if_t> * = nullptr) | ^ /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 = long 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 = long 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::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: /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/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 /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 = long 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 = long 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/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) { | ^ /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 = long 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 = long 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 = long 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/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, | ^~~~~~~~ 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 { | ^ 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/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/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/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/.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) | ^ 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/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/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std' /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/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/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: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/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/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/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/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) | ^~~~~~~~~~~ /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: 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: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) { | ^ /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: 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: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: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/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/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/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/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: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/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(); | ^ /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, | ^~~~~~~~ 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/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) { | ^ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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, /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; | ^~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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>; | ^~ /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, | ^~~~~~~ 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; | ^~~~~~~~~~~ /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/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/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); | ^~~~~~~ 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/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/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/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/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/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/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/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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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, from /pbulk/work/devel/polly/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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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/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, | ^ /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/.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/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/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/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 { | ^~~ 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 /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/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 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/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; | ^~~~~~~~~~~ /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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/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 { | ^~~~~~~~~~ /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); | ^~~~~~~ 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/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 /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 = long 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 = long 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 = long 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 = long 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/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*>': /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 = long 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/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++/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++/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 long unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /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/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 long 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/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/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/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/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, | ^~~~~~~ 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 long 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 long 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: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; | ^~~ 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 /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, | ^~~~~~~~~~ /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/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/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/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/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/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); | ^~~~~~~~ /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/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 << ">("; | ~~~~~~~~~~~~~~~ ^~ ~~~~~ | | | /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) { | ^~~ | | 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/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; | ^~~~~~~ /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); | ^~~~~~~ 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 { | ^~~ /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/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 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/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/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 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; /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/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) | ^~ 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 { | ^~~~~~~~~~ /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) | ^~~~~~~~~~~ /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 /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/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/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/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/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, /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/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 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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]' /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) { | ^~ 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, /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( | ^~~~~~~~ from /pbulk/work/devel/polly/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, /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, | ^~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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 = long 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 = long 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 = long 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 = long 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 = long 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/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/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/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/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) | ^~~~ 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/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/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/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/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/Threading.h:174:39: error: 'S' was not declared in this scope 174 | std::optional S = | ^ /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/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/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, /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, | ^ from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/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 { | ^~~~~~~~~~ /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/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/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/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/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/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); | ^ /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, | ^~~~~~~~~~~~~~~ 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/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/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/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/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/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/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/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, | ^~~~~~~~~~ /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/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/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, | ^~~~~~~ /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, | ^~~~~~~ /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, | ^~~~~~~ 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 /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/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/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(); | ^~~~ 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: /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/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/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/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) | ^~~~~~~~~~~ /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/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/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/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/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/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/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/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/.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/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/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/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/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/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/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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 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; | ^~~~~~~~~~~~~~~~~ /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 = long 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/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: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 = long 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) | ^~~~~~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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 { | ^~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~~~~~~^~~~~ 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: /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/.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 { | ^~~~~~~~~~ /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/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) { | ^~~ 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 long unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair > [2], llvm::SmallDenseMap, 2>::LargeRep}]' /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 /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, 1061 | template std::optional expectedToStdOptional(Expected &&E) { | ^~~ 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 long 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/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/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) { | ^~~ /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/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/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), | ^ 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, | ^~~~~ /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/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/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/.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; | ^~~ /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/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/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 | ^~~ 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 /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/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/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/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: 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/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/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 | ^~~ 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 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/ADT/FunctionExtras.h:68:48: note: 'std::disjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std' /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: note: 'std::disjunction' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:77:28: error: wrong number of template arguments (4, should be at least 1) 77 | Ret>>::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, /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)); 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; | ^ /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/.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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/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 = "", | ~~~~~~~~~~~~~^~~~~~~~~ /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/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/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)) { } | ^~~~~~ /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)) { | ^~~~~~ 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; | ^~~ /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::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 '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 '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& 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::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); | ^~~~~~ 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/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/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/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/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/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); | ^~~~~~ 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 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/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 = long 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 = long 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 = long 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 = long 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 = long 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/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(); | ^~~~~~~~~~ | ; 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; | ^~~ /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/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 /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 = long 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 = long 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 = long 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 = long 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 = long 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/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/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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /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 = long 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 = long 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 = long 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 = long 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 = long 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::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 | ^~~~~~~~~~~~ /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 = long 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 = long 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 = long 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 = long 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 = long 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::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: /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: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: /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 = long 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 = long 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 = long 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 = long 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 = long 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/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 *> | ^ | ; 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), | ^~~~~~~~~~~~~~~ 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, /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), | ^ 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 long 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 long 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/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) { | ^ 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/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/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/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/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/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/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, | ^~~~~ /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/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/Support/Format.h:252:45: error: 'FirstByteOffset' was not declared in this scope 252 | return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine, | ^~~~~~~~~~~~~~~ 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/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/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/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/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(); | ^~~~ /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)); | ^ 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) { | ^~~ 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, /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, 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' 2554 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; | ^~~~~~~~~~~ | ^ /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); | ^~~~~~~~~~~~ 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 /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/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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/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/Constants.h:1261:29: error: 'OnlyIfReducedTy' was not declared in this scope 1261 | OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ /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/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/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); | ^~~~~~~~~~~~ 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/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 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/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/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/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/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) { | ^ /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/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/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/IR/Constants.h:1261:29: error: 'OnlyIfReducedTy' was not declared in this scope 1261 | OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ /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/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/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 /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)))); | ^~~~ /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/.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 = {}); | ^ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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> { | ^~ /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/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/.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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) | ^~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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) | ^~~~~~~ /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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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) {} | ^~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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) | ^~~~~~~ /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/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/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; | ^~~ 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 long 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 long 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/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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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) {} | ^~~~~~~ /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/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 long 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 long 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/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) {} | ^ | ; /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: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/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); | ^~~~~~~~~~~~ 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); | ^~~~~~~~ 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 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) { | ^~~ /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 /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/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/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' /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(); | ^~~~ 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)) | ^~~~~~ 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) {} | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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; | ^~~~~~ /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(); | ^~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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 /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: /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(); | ^~~~ /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: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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' /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) {} | ^ 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 /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 /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; | ^~~~~~ /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 = long 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 = long 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 = long 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 = long 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 = long 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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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' /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 | ~~~~~~~~~~~~~~~^~~~~ 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; | ^~~~~~ /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 = long 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 = long 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 = long 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 = long 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 = long 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/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; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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' /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; | ^~~ 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: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:37:44: note: in definition of macro 'DEFINE_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, /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/lib/Analysis/ScopInfo.cpp:19: from /pbulk/work/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::MDString*, llvm::MDString*, int)': /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: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: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' | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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' 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' 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: 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' /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::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)) 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:37:44: note: in definition of macro 'DEFINE_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' /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__ | ^~~~~~~~~~~ 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: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: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/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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: 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/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/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/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/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); | ^ 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/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/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/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/.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) { | ^~~ /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 = long 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 = long 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 = long 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 = long 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 = long 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:619:20: error: 'ShouldCreate' was not declared in this scope 619 | ShouldCreate); | ^~~~~~~~~~~~ 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") {} | ^ 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: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 = long 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 = long 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 = long 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 = long 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 = long 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/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/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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; | ^~~ 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; } | ^ /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/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/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); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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; | ^~~~~~ /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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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; | ^~~~~~ /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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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/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 = {}); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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; | ^~~~~~ /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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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; | ^~~~~~ /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:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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; | ^~~~~~ /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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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/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 { | ^~~ 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/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, | ^ 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); | ^~~ /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/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, | ^ /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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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/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) {} | ^~~~~~~~~~~~~~~~~ /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/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/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/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)) { } | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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/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/.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/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/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/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/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/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/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/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/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/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/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/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/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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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/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/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/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( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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: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: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: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/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/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/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/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: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 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/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/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/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/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; | ^~~~~ /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)) { | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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( | ^~~~~~~~~~~~~~~~~ /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/IR/DebugInfoMetadata.h:978:27: error: 'DWARFAddressSpace' was not declared in this scope 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ /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: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/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; | ^~~~~ /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); | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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: 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: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 /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here 699 | DIFlags Flags; | ^~~~~ 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/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; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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: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/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/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/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/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; | ^~~~~~~ /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/GenericDomTreeConstruction.h:407:35: error: 'SuccOrder' was not declared in this scope 407 | std::optional SuccOrder; | ^~~~~~~~~ /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/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' /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(); | ^~~~ 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__ | ^~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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/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/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: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' 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) { | ^~~~~~~~ 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/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/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 '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/.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; | ^~~~~ /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(); | ^~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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__ | ^~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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 /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)) 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:37:44: note: in definition of macro 'DEFINE_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' /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( 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)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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, /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; from /pbulk/work/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( | ^~~~~~~~~~~~~~~~~ /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/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); | ^ 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, /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' from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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 *> | ^ | ; 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/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/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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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( | ^~~~~~~~~~~~~~~~~ /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( | ^~~~~~~~~~~~~~~~~ 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/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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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 /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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: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 here 699 | DIFlags Flags; | ^~~~~ /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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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, | ^~~~~~~~~~~~~~~~~ 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(); | ^~~~~~~~~~ | ; /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/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: 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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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/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/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: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/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 /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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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, | ^~~~~~~~~~~~~~~~~ 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/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/.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)) { } | ^~~~~~ 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/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/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/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/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/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/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/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/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/Constants.h:1251:19: error: 'InRangeIndex' was not declared in this scope 1251 | InBounds, InRangeIndex, OnlyIfReducedTy); | ^~~~~~~~~~~~ /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/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/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/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/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/IR/Constants.h:1261:29: error: 'OnlyIfReducedTy' was not declared in this scope 1261 | OnlyIfReducedTy); | ^~~~~~~~~~~~~~~ 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/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/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/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/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/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/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/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/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/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 | ^~~ /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/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/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/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/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/.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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/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/.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/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()), | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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 | ^~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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/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/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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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) {} | ^~~~~~~ /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 | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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) | ^~~~~~~~~ /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 In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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); | ^~~ /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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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/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/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/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: 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/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> | ^ /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' 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /usr/include/g++/type_traits:2553:24: note: declared here 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, | ^~~~~~~~~~~~~~~~~ 2553 | template | ^~~~~~~~ /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' 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:257:66: error: expected unqualified-id before '=' token 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, | ^~~~~~~~~~~~~~~~~ 257 | std::enable_if_t, int> = 0> | ^ /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/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/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, | ^~~~~~~~~~~~~~~~~ /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> | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/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/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/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/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/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/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/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/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/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; } | ^~~ 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, /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; } | ^~~ from /pbulk/work/devel/polly/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; | ^~~~~~~ /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> | ^~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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); | ^~~~~~~~~~~~ /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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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::optionalgetFragmentInfo(); | ^~~~~~~~~~~~~~~ | FragmentInfo /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_longest_iterator::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/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/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; | ^~~~~~ /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...>; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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; | ^~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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' /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) { | ^~~~~~~~~ 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; | ^~~~~~ /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) { | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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; | ^~~~~~ /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) { | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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: 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/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/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] /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/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/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; | ^~ /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/DependenceInfo.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/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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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) {} | ^~~~~~~ /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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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) {} | ^ | ; In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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; | ^~~~~~ /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; | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/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/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, /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; | ^ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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; | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/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/.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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, /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 { | ^~~~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/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 /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__ | ^~~~~~~~~~~ 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 /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__ | ^~~~~~~~~~~ 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 /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__ | ^~~~~~~~~~~ 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/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/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' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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( | ^~~~~~~~~~~~~~~~~ 308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); } | ^~~ /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) {} | ^~~~~~~~~~~~~~~~~ /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: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/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: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' 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/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: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: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: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; | ^~~~~~~ /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: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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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); | ^~~~~~~~~~~~ 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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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); | ^~~~~~~~~~~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, 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/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::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: 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: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; | ^~~~~~ /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/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; | ^~~~~~ /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); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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: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:37:44: note: in definition of macro 'DEFINE_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' /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 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: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: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; | ^~~~~~ /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, | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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)': In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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: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/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:37:44: note: in definition of macro 'DEFINE_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 /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( 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, | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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; | ^~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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; | ^~~~~ /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/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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:3789:9: error: 'Fragment' was not declared in this scope 3789 | if (Fragment) | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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( | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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: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: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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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)) { \ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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)) | ^~~~~~~~~ | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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, | ^~~~~~~~~~~~~~~~~~~~~~~~ /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:37:44: note: in definition of macro 'DEFINE_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( | ^~~~~~~~~~~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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' | ^~~~~~~~~~~ /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: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, | ^~~~~~~~~~~~~~~~~ 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: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' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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, | ^ 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 /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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, | ^~~~~~~~ 601 | MDString *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: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; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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: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: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/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); | ^~~ /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/.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/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::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' /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); | ^~~ 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::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: 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' 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/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; | ^~~~~ 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/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, /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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( | ^~~~~~~~~~~~~~~~~ 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': 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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, /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/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/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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 { | ^~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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:37:44: note: in definition of macro 'DEFINE_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/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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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: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, /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( | ^~~~~~~~~~~~~~~~~ from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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: 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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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, | ^~~~~~~~~~~~~~~~~ /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/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/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' /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/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; | ^~~ 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, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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: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/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 { | ^~~~~~~~~~ /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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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' /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); | ^~~~~~~ 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/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; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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 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/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: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' In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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)': 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: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: 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' /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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, 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, | ^~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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, /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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, | ^~~~~~~~~~~~~~~~~ from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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__ | ^~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/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( | ^~~~~~~~~~~~~~~~~ /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; | ^~~~~ /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)) { \ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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: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:37:44: note: in definition of macro 'DEFINE_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: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: 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: 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: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: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: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: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: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: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: 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 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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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: 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: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, /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 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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; | ^~~~~ /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:978:27: error: 'DWARFAddressSpace' was not declared in this scope 978 | DWARFAddressSpace(DWARFAddressSpace) {} | ^~~~~~~~~~~~~~~~~ /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:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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, 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/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/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/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/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/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/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/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; | ^~~~~ /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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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: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; | ^~~~~~~ /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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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 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, | ^~~~~ 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/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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/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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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, | ^~~~~~~~~~~~~~~~~ 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 { | ^~~ /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: 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: 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/ScopPass.h:20, from /pbulk/work/devel/polly/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: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/BasicBlock.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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)); | ^ /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/DependenceInfo.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/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/.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; | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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; | ^~~~~ /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/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/include/polly/Support/ScopHelper.h:18, from /pbulk/work/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 { | ^ /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, 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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; | ^~~~~~~~ from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/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/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/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( | ^~~~~~~~~~~~~~~~~ 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 long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(8)' /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 long unsigned int kValue = 4; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(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 long unsigned int kValue = 2; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: recursively required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 4; size_t = long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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: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: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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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( | ^~~~~~~~~~~~~~~~~ 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/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' /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 | ^~~~~~~~~~~~~~~~ 1008 | DEFINE_MDNODE_GET( | ^~~~~~~~~~~~~~~~~ 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, | ^~~~~ /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; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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: 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: 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; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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: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/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, | ^~~~~~~~~~~~~~~~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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: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/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/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() | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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, | ^~~~~~~~~~~~~~~~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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/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/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: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; | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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()); | ^ /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 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/.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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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); | ^~~~~~~~~~~~~~~~ /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: 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 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 { | ^~~~~~~~~~ /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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 { | ^~~~~~~~~~ /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/.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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: 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: 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: 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: 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: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 '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 '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/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/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/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/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/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/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/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/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/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/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) | ^~~~~~~~ /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/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/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: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); | ^~~ 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); | ^~~~~~~ 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); | ^~~~~~~ /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/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/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/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/.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, | ^~~~~ 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/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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/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/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/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: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/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/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/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/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/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 | ^~~ 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/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/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/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/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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 { | ^~~~~~~~~~ /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/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); | ^~~~~~~~~~~~~ /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, | ^~~~~~~ /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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 = "", | ~~~~~~~~~~~~~^~~~~~~~~ /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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 = long 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 = long 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 = long 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 = long 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 = long 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 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); | ^~~~~~~~ /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/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); | ^~~~~~~~ /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 = long 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/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); | ^~~ /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 = long 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 = long 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 = long 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 = long 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 = long 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 = long 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 = long 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 = long 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 = long 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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); | ^~~~~~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 /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); | ^~~~~~~ /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 = long 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 = long 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 = long 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 = long 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 = long unsigned int]' 469 | basic_string(const basic_string& __str, size_type __pos, | ^~~~~~~~~~~~ /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); | ^~~ /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/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: 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 /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, 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, | ^~~ 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 { | ^~~ 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/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/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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 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/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/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/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/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); | ^~~~~~~~ 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: 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/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/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/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 { | ^~~~~~~~~~ /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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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: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, | ^~~~~~~~~~~~~ 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, | ^~~~~~~~~~~~~ /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/.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/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>; | ^~~~~~~~~ /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; | ^~~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 { | ^~~ /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/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; } | ^ 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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 = long 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 = long 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 = long 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 = long 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 = long 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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))); | ^ --- 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 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/Support/GenericDomTreeConstruction.h:407:35: error: 'SuccOrder' was not declared in this scope 407 | std::optional SuccOrder; | ^~~~~~~~~ --- 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 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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, | ^~~~~~~~~~ /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/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, | ^~~~~~~~~~ /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/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/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 { | ^~~ 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/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/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/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/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/IR/ValueMap.h:117:13: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'? 117 | return *MDMap; | ^~~~~ | MDMapT 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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'? /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 | ^~~ 512 | std::enable_if_t> * = nullptr) | ^~~~~~~~~~~~~~~~ | is_convertible /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/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/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/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: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: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) { | ^ /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/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, | ^~~ /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/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/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/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/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); | ^~~~~~~ /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/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>> | ^~~ /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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 long 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 long 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/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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, | ^~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 << ">("; | ~~~~~~~~~~~~~~~ ^~ ~~~~~ /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, | ^~~ | | | | | 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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); | ^~~~~~~~ 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); | ^~~~~~~~~ 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 /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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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, | ^~~~~~~~~~~~~ /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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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/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/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; | ^~~ 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/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) {} | ^ | ; 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/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, 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/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 /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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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: 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/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 = long 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 = long 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 = long 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 = long 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 = long 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/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; | ^ 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 = long 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 = long 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 = long 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 = long 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 = long 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 /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; | ^~~~~~~~~ /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 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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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, | ^~~ 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/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: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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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) { | ^~~ 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; | ^~~ 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); | ^~~ 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/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) /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/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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; | ^~~ 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/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, | ^~~~~~~~~~~~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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; | ^~~ 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/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/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/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/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/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/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/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/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/.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/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/include/polly/ScopInfo.h:2051:13: error: 'name' was not declared in this scope; did you mean 'tzname'? 2051 | return *name; | ^~~~ | tzname /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/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/ScopPass.h:20, from /pbulk/work/devel/polly/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 /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>> | ^~~ 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/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std' 1109 | std::nullopt); | ^~~~~~~ /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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/.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; | ^~~~~~~~~ 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); | ^ /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)); | ^ 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/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/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/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/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 /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); | ^~~~~~~~~~~~ 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 = "", | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /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/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) {} | ^ | ; /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); | ^~~~~~~~~~~~~~~ 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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; | ^~~ 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; | ^~~ 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/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, /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 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, | ^~~~~~~~~~~~ 122 | std::optional getMappedMD(const Metadata *MD) const { | ^~~ /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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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/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 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 /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/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/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/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/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/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/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/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) { | ^ 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 /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/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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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) | ^~~~~~~ /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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std' 1109 | std::nullopt); | ^~~~~~~ /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/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, | ^~~~~~~~~~~~~ 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/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, | ^~~~~~~~~~~~~ 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/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*)' /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)) {} | ^ | | 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 | 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/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/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/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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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' 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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, | ^~~~~~ 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/.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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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); | ^~~~~~~~~~~~ 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/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); | ^~~ /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/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 /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/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/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/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: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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 { | ^~~ /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/polly-16.0.6.src/include/polly/ScopPass.h:20, from /pbulk/work/devel/polly/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; | ^~~ 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; | ^~~~~~~~~ /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 = long 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 = long 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 = long 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 = long 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 = long 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 /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: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 = long 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 = long 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 = long 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 = long 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 = long 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: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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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) {} | ^~~~~~~~~~~~~~~~~ /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), | ^~~~ /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/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: 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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( | ^~~~~~~~~~~~~~~~~ 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; | ^~~ /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' 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; | ^~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/.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 { | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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: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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/.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 In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/.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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/.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/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, 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 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49, from /pbulk/work/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) { | ^~~~~~~~ 546 | std::optional | ^~~ /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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/.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 | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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/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/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: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 /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); | ^~~ 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/.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 { | ^~~ /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: 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/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, /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/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 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/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/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/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; | ^ /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( | ^~~ /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; | ^ /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/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/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/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); | ^ /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/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, | ^~~ /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/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); | ^~~~~~~~~~~~~ /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/IR/IntrinsicInst.h:27, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 | ^~~ 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/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 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] 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 = "", | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /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 | ^~~ 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) {} | ^ | ; /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 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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/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/.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 = long 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 = long 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 = long 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 = long 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 = long 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/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/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 = long 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 = long 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 = long 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 = long 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 = long 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/.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 /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/.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/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/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 { | ^~~ 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/.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(); | ^~~ 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/IR/DebugInfoMetadata.h:3789:9: error: 'Fragment' was not declared in this scope 3789 | if (Fragment) | ^~~~~~~~ /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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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( | ^~~ /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/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/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 /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); | ^~~ 1739 | virtual std::optional getCacheAssociativity(CacheLevel Level) | ^~~ /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/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; | ^ /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/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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 { | ^~~~~~~~~~ /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/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/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, | ^~~ /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/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/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)) {} | ^ | | /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/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/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 | 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/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/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, | ^~~~~ 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 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, | ~~~~~^~~~~~~~~~~~~~ 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 long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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/Alignment.h:103:49: required from 'static constexpr llvm::Align llvm::Align::Of() [with T = 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(8)' /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 long unsigned int kValue = 4; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(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 long unsigned int kValue = 2; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: recursively required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 4; size_t = long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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/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) {} | ^ | ; 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/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/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/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 /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); | ^~~~~~~~~~~~~ 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/MemoryBuffer.h:209:21: note: ...following parameter 4 which has a default argument 209 | bool IsVolatile = false, | ~~~~~^~~~~~~~~~~~~~~~~~ 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) {} | ^ /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 /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 = long 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 = long 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 = long 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 = long 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 = long 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/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 = long 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 = long 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 = long 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 = long 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 = long 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/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/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; | ^~~ /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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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; } | ^ 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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 = long 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); | ^ /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, | ^~~~~ 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/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/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/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 long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(8)' /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 long unsigned int kValue = 4; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(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 long unsigned int kValue = 2; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: recursively required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 4; size_t = long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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/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, | ^~~~~ 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, | ^~~~~ 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] 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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 long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(8)' /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 long unsigned int kValue = 4; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(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 long unsigned int kValue = 2; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: recursively required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 4; size_t = long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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/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 long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(8)' /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 long unsigned int kValue = 4; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(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 long unsigned int kValue = 2; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: recursively required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 4; size_t = long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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/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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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; | ^~~~~~~~~ /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, | ^~~~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/.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/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/polly-16.0.6.src/include/polly/ScopDetection.h:54, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/Analysis/CFGPrinter.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:16, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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/.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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/BranchProbabilityInfo.h:329:47: 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/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap, unsigned int>': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:332:37: 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(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/CFGPrinter.h:22, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:16, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:362:8: error: 'optional' in namespace 'std' does not name a template type 362 | std::optional getEstimatedBlockWeight(const BasicBlock *BB) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:362:3: note: 'std::optional' is only available from C++17 onwards 362 | std::optional getEstimatedBlockWeight(const BasicBlock *BB) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:367:8: error: 'optional' in namespace 'std' does not name a template type 367 | std::optional getEstimatedLoopWeight(const LoopData &L) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:367:3: note: 'std::optional' is only available from C++17 onwards 367 | std::optional getEstimatedLoopWeight(const LoopData &L) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:371:8: error: 'optional' in namespace 'std' does not name a template type 371 | std::optional getEstimatedEdgeWeight(const LoopEdge &Edge) const; | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:371:3: note: 'std::optional' is only available from C++17 onwards 371 | std::optional getEstimatedEdgeWeight(const LoopEdge &Edge) const; | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:377:8: error: 'optional' in namespace 'std' does not name a template type 377 | std::optional | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:377:3: note: 'std::optional' is only available from C++17 onwards 377 | std::optional | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:397:8: error: 'optional' in namespace 'std' does not name a template type 397 | std::optional getInitialEstimatedBlockWeight(const BasicBlock *BB); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/BranchProbabilityInfo.h:397:3: note: 'std::optional' is only available from C++17 onwards 397 | std::optional getInitialEstimatedBlockWeight(const BasicBlock *BB); | ^~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:21, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:34, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/CFGPrinter.h:31, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:16, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/NativeFormatting.h:41:21: error: 'std::optional' has not been declared 41 | std::optional Width = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/NativeFormatting.h:41:29: error: expected ',' or '...' before '<' token 41 | std::optional Width = std::nullopt); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/NativeFormatting.h:43:24: error: 'std::optional' has not been declared 43 | std::optional Precision = std::nullopt); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/NativeFormatting.h:43:32: error: expected ',' or '...' before '<' token 43 | std::optional Precision = std::nullopt); | ^ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:34, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/CFGPrinter.h:31, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:16, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:32:17: error: 'is_one_of' was not declared in this scope; did you mean 'none_of'? 32 | bool, is_one_of::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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /usr/include/g++/type_traits:57:12: note: provided for 'template struct std::integral_constant' 57 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:34, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/CFGPrinter.h:31, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:16, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:34:57: error: expected '{' before '::' token 34 | long long, unsigned long long>::value> {}; | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:43:37: error: 'is_one_of' was not declared in this scope; did you mean 'none_of'? 43 | is_one_of::value> { | ^~~~~~~~~ | none_of /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:43:70: error: wrong number of template arguments (4, should be 2) 43 | is_one_of::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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /usr/include/g++/type_traits:57:12: note: provided for 'template struct std::integral_constant' 57 | struct integral_constant | ^~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:34, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/CFGPrinter.h:31, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:16, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:43:71: error: expected '{' before '::' token 43 | is_one_of::value> { | ^~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:62:15: error: 'optional' in namespace 'std' does not name a template type 62 | static std::optional parseNumericPrecision(StringRef Str) { | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:62:10: note: 'std::optional' is only available from C++17 onwards 62 | static std::optional parseNumericPrecision(StringRef Str) { | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h: In instantiation of 'struct llvm::detail::use_pointer_formatter >': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:219:33: recursively required by substitution of 'template struct llvm::format_provider::value, void>::type> [with T = std::__cxx11::basic_string]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:219:33: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:54:63: error: incomplete type 'llvm::detail::is_cstring >' used in nested name specifier 54 | !is_cstring::value> {}; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h: In instantiation of 'struct llvm::detail::use_pointer_formatter': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:241:27: recursively required by substitution of 'template struct llvm::format_provider::value, void>::type> [with T = int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:241:27: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:54:63: error: incomplete type 'llvm::detail::is_cstring' used in nested name specifier /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h: In static member function 'static void llvm::format_provider::value, void>::type>::format(const char&, llvm::raw_ostream&, llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:241:29: error: 'format' is not a member of 'llvm::format_provider' 241 | format_provider::format(X, Stream, Style); | ^~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h: In static member function 'static void llvm::format_provider::value, void>::type>::format(const T&, llvm::raw_ostream&, llvm::StringRef)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:315:10: error: 'optional' is not a member of 'std' 315 | std::optional Precision = parseNumericPrecision(Style); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:315:10: note: 'std::optional' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:315:25: error: expected primary-expression before '>' token 315 | std::optional Precision = parseNumericPrecision(Style); | ^ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:315:27: error: 'Precision' was not declared in this scope 315 | std::optional Precision = parseNumericPrecision(Style); | ^~~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:315:39: error: there are no arguments to 'parseNumericPrecision' that depend on a template parameter, so a declaration of 'parseNumericPrecision' must be available [-fpermissive] 315 | std::optional Precision = parseNumericPrecision(Style); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/CFGPrinter.h:31, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:16, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h: At global scope: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:106:15: error: 'optional' in namespace 'std' does not name a template type 106 | static std::optional parseReplacementItem(StringRef Spec); | ^~~~~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:106:10: note: 'std::optional' is only available from C++17 onwards 106 | static std::optional parseReplacementItem(StringRef Spec); | ^~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h: In constructor 'llvm::formatv_object::formatv_object(llvm::StringRef, Tuple&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:155:30: error: 'apply' is not a member of 'std' 155 | ParameterPointers = std::apply(create_adapters(), Parameters); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:155:30: note: 'std::apply' is only available from C++17 onwards /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h: In constructor 'llvm::formatv_object::formatv_object(llvm::formatv_object&&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:163:30: error: 'apply' is not a member of 'std' 163 | ParameterPointers = std::apply(create_adapters(), Parameters); | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:163:30: note: 'std::apply' is only available from C++17 onwards In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:34, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/CFGPrinter.h:31, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:16, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h: In instantiation of 'struct llvm::detail::use_pointer_formatter': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:68:47: recursively required by substitution of 'template struct llvm::format_provider::value, void>::type> [with T = double]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:68:47: required by substitution of 'template static char llvm::detail::has_FormatProvider::test(llvm::SameType*) [with U = llvm::format_provider]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:73:51: required from 'const bool llvm::detail::has_FormatProvider::value' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:108:73: required from 'struct llvm::detail::uses_format_provider' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:126:73: required from 'struct llvm::detail::uses_missing_provider' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:157:1: required by substitution of 'template std::enable_if_t::value, llvm::detail::missing_format_adapter > llvm::detail::build_format_adapter(T&&) [with T = double&]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:252:49: required by substitution of 'template llvm::formatv_object)(llvm::formatv::Vals))...))> llvm::formatv(const char*, Ts&& ...) [with Ts = {double&, double&}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/CFGPrinter.h:268:74: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:54:63: error: incomplete type 'llvm::detail::is_cstring' used in nested name specifier 54 | !is_cstring::value> {}; | ^~~~~ /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h: In instantiation of 'struct llvm::detail::use_pointer_formatter': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:68:47: recursively required by substitution of 'template struct llvm::format_provider::value, void>::type> [with T = long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:68:47: required by substitution of 'template static char llvm::detail::has_FormatProvider::test(llvm::SameType*) [with U = llvm::format_provider]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:73:51: required from 'const bool llvm::detail::has_FormatProvider::value' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:108:73: required from 'struct llvm::detail::uses_format_provider' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:126:73: required from 'struct llvm::detail::uses_missing_provider' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:157:1: required by substitution of 'template std::enable_if_t::value, llvm::detail::missing_format_adapter > llvm::detail::build_format_adapter(T&&) [with T = long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:252:49: required by substitution of 'template llvm::formatv_object)(llvm::formatv::Vals))...))> llvm::formatv(const char*, Ts&& ...) [with Ts = {long unsigned int, double&}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/CFGPrinter.h:276:72: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:54:63: error: incomplete type 'llvm::detail::is_cstring' used in nested name specifier In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GraphWriter.h: In member function 'void llvm::GraphWriter::emitEdge(const void*, int, const void*, int, const string&)': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GraphWriter.h:341:17: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 341 | O << ":s" << SrcNodePort; | ~~~~~~~~~ ^~ ~~~~~~~~~~~ | | | | | 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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); | ^~~~~~~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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/Analysis/DOTGraphTraitsPass.h:18, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GraphWriter.h:344:17: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 344 | O << ":d" << DestNodePort; | ~~~~~~~~~ ^~ ~~~~~~~~~~~~ | | | | | 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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); | ^~~~~~~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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/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/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp: In static member function 'static void llvm::DOTGraphTraits::printRegionCluster(polly::ScopDetection*, const llvm::Region*, llvm::raw_ostream&, unsigned int)': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:110:45: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int') 110 | O.indent(2 * (depth + 1)) << "color = " << color << "\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/include/polly/ScopDetection.h:49, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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); | ^~~~~~~~ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /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/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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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] 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 long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(8)' /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 long unsigned int kValue = 4; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(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 long unsigned int kValue = 2; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: recursively required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 4; size_t = long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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, | ^~~~~ /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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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, | ^~~~~ In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:34, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/CFGPrinter.h:31, from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:16, from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h: In instantiation of 'static void llvm::format_provider::value, void>::type>::format(const T&, llvm::raw_ostream&, llvm::StringRef) [with T = double]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:68:47: required by substitution of 'template static char llvm::detail::has_FormatProvider::test(llvm::SameType*) [with U = llvm::format_provider]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:73:51: required from 'const bool llvm::detail::has_FormatProvider::value' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:108:73: required from 'struct llvm::detail::uses_format_provider' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:126:73: required from 'struct llvm::detail::uses_missing_provider' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadicDetails.h:157:1: required by substitution of 'template std::enable_if_t::value, llvm::detail::missing_format_adapter > llvm::detail::build_format_adapter(T&&) [with T = double&]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatVariadic.h:252:49: required by substitution of 'template llvm::formatv_object)(llvm::formatv::Vals))...))> llvm::formatv(const char*, Ts&& ...) [with Ts = {double&, double&}]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/CFGPrinter.h:268:74: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/FormatProviders.h:315:60: error: 'parseNumericPrecision' was not declared in this scope 315 | std::optional Precision = parseNumericPrecision(Style); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h: In instantiation of 'llvm::DOTGraphTraitsViewerWrapperPass::DOTGraphTraitsViewerWrapperPass(llvm::StringRef, char&) [with AnalysisT = polly::ScopDetectionWrapperPass; bool IsSimple = false; GraphT = polly::ScopDetection*; AnalysisGraphTraitsT = ScopDetectionAnalysisGraphTraits]': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:152:24: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:167:41: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 167 | : FunctionPass(ID), Name(GraphName) {} | ^ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:167:41: note: candidate expects 3 arguments, 1 provided 167 | : FunctionPass(ID), Name(GraphName) {} | ^ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 = long 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 = long 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 = long 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 = long 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 = long 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/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h: In instantiation of 'llvm::DOTGraphTraitsPrinterWrapperPass::DOTGraphTraitsPrinterWrapperPass(llvm::StringRef, char&) [with AnalysisT = polly::ScopDetectionWrapperPass; bool IsSimple = false; GraphT = polly::ScopDetection*; AnalysisGraphTraitsT = ScopDetectionAnalysisGraphTraits]': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:188:24: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:206:41: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 206 | : FunctionPass(ID), Name(GraphName) {} | ^ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:206:41: note: candidate expects 3 arguments, 1 provided 206 | : FunctionPass(ID), Name(GraphName) {} | ^ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 = long 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 = long 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 = long 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 = long 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 = long 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/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h: In instantiation of 'llvm::DOTGraphTraitsPrinterWrapperPass::DOTGraphTraitsPrinterWrapperPass(llvm::StringRef, char&) [with AnalysisT = polly::ScopDetectionWrapperPass; bool IsSimple = true; GraphT = polly::ScopDetection*; AnalysisGraphTraitsT = ScopDetectionAnalysisGraphTraits]': /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:201:28: required from here /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:206:41: error: no matching function for call to 'std::__cxx11::basic_string::basic_string(llvm::StringRef&)' 206 | : FunctionPass(ID), Name(GraphName) {} | ^ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:21, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/DOTGraphTraitsPass.h:206:41: note: candidate expects 3 arguments, 1 provided 206 | : FunctionPass(ID), Name(GraphName) {} | ^ 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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 = long 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 = long 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 = long 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 = long 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 = long 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.cpp:16: /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(8)' /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 long unsigned int kValue = 4; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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(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 long unsigned int kValue = 2; size_t = long unsigned int]': /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: recursively required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 4; size_t = long unsigned int]' /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32: required from 'constexpr size_t llvm::CTLog2() [with long unsigned int kValue = 8; size_t = long 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 long unsigned int kValue = 8]' /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 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 = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects; PrevTy = llvm::StructLayout; NextTy = 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 unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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, | ^~~~~ --- 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 --- 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 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/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 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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/ScopGraphPrinter.h:19, from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopGraphPrinter.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/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 --- lib/CMakeFiles/obj.Polly.dir/Analysis/ScopGraphPrinter.cpp.o --- *** [lib/CMakeFiles/obj.Polly.dir/Analysis/ScopGraphPrinter.cpp.o] Error code 1 make[2]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build --- 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 7 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