=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for polly-16.0.6
[  0%] Built target intrinsics_gen
[  2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_aff.c.o
[  2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/basis_reduction_tab.c.o
[  2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_affine_hull.c.o
[  2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_build_expr.c.o
[  2%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_build.c.o
[  5%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_arg.c.o
[  5%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_aff_map.c.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_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 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:15:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:15:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:24:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/id.h:4,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:13:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:24:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c: In function 'generate_name':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:106:2: note: in expansion of macro 'snprintf'
  106 |  snprintf(name, sizeof(name), "c%d", i);
      |  ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c:10:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c: In function 'print_int_help':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c:544:2: note: in expansion of macro 'snprintf'
  544 |  snprintf(val, sizeof(val), "%d", *p);
      |  ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c: In function 'match_long_name':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_arg.c:749:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  749 |   if (end - start == strlen(decl->long_name) &&
      |                   ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_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)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'isl_basic_map_detect_equalities':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:932:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  932 |  for (i = 0; i < hull->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'add_strides':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:1038:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1038 |  for (i = 1; i < M->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c: In function 'isl_basic_map_make_strides_explicit':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:1110:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1110 |  for (n_known = 0; n_known < bmap->n_div; ++n_known)
      |                            ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_affine_hull.c:1116:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1116 |  for (n = 0; n < bmap->n_eq; ++n)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_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, ...) \
      | 
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 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/basis_reduction_tab.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_map.c:18:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_map.c:14:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_map.c:18:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_map.c:18:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_map.c:18:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_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/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_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c: In function 'isl_ast_build_insert_dim':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:1556:10: warning: 'space' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1556 |  space = isl_space_map_from_set(space);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_build.c:1646:13: note: 'space' was declared here
 1646 |  isl_space *space, *ma_space;
      |             ^~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:40:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_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 '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)
      |                ^
[  8%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_codegen.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_aff_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:46:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_aff_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:52:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_multi_aff_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:58:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_aff_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:64:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_pw_multi_aff_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'vec_reorder':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:620:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  620 |  for (i = 0; i < r->len; ++i)
      |                ^
[  8%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_floor':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:1694:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1694 |  for (i = 1; i < aff->v->size; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_substitute_equalities_lifted':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2211:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2211 |  for (i = 0; i < eq->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2213:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2213 |   if (j < 0 || j == 0 || j >= o_div)
      |                            ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2538:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_aff_check_range':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   15 |  if (first + n > dim || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_involves_dims':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2564:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2564 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_drop_dims':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2593:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
 2593 |  isl_ctx *ctx;
      |           ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c: In function 'isl_aff_insert_dims':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2672:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
 2672 |  isl_ctx *ctx;
      |           ^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:21:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_aff_add_dup_piece':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4'
  148 |   if (test)      \
      |       ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:2: note: in expansion of macro 'isl_assert'
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |  ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:2808:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_aff_grow':
[  8%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_bernstein.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:511:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  511 |  if (pw->n + n <= pw->size)
      |                ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_aff_add_disjoint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:541:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  541 |  if (pw1->size < pw1->n + pw2->n && pw1->n < pw2->n)
      |                ^
[  8%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_graft.c.o
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMapInfo.h:294:52: error: 'variant' is not a member of 'std'
  294 | template <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                    ^~~~~~~
/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 <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                              ^~~
/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 <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                                 ^~
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 <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        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 <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_integral
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:70: error: template argument 1 is invalid
   64 | template <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:73: error: expected unqualified-id before '>' token
   64 | template <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                                         ^
/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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_unsigned
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:70: error: template argument 1 is invalid
  109 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:73: error: expected unqualified-id before '>' token
  109 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                         ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_unsigned
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:70: error: template argument 1 is invalid
  348 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:73: error: expected unqualified-id before '>' token
  348 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                         ^
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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<std::is_unsigned_v<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<std::is_unsigned_v<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<std::is_unsigned_v<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<std::is_unsigned_v<T>, T> SaturatingAdd(T X, T Y, T Z,
      |                                       ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:19:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_expr_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_expr_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_expr_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
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_list_templ.c: In function 'isl_ast_expr_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:24:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_node_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_node_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_node_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_node_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_dup':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:180:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  180 |   for (i = 0; i < expr->u.op.n_arg; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_free':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:226:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  226 |    for (i = 0; i < expr->u.op.n_arg; ++i)
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_op_get_arg':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:336:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  336 |  if (pos < 0 || pos >= expr->u.op.n_arg)
      |                     ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_set_op_arg':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:362:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  362 |  if (pos < 0 || pos >= expr->u.op.n_arg)
      |                     ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_is_equal':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:399:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  399 |   for (i = 0; i < expr1->u.op.n_arg; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'isl_ast_expr_substitute_ids':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:805:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  805 |   for (i = 0; i < expr->u.op.n_arg; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_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_ast.c: At top level:
/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) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1494:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1494 |  [isl_ast_expr_op_and] = "&&",
      |                          ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1495:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1495 |  [isl_ast_expr_op_and_then] = "&&",
      |                               ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1496:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1496 |  [isl_ast_expr_op_or] = "||",
      |                         ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1497:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1497 |  [isl_ast_expr_op_or_else] = "||",
      |                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1498:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1498 |  [isl_ast_expr_op_max] = "max",
      |                          ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1499:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1499 |  [isl_ast_expr_op_min] = "min",
      |                          ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1500:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1500 |  [isl_ast_expr_op_minus] = "-",
      |                            ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1501:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1501 |  [isl_ast_expr_op_add] = "+",
      |                          ^~~
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_ast.c:1502:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1502 |  [isl_ast_expr_op_sub] = "-",
      |                          ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4'
  148 |   if (test)      \
      |       ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:2: note: in expansion of macro 'isl_assert'
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |  ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1503:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1503 |  [isl_ast_expr_op_mul] = "*",
      |                          ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1504:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1504 |  [isl_ast_expr_op_fdiv_q] = "floord",
      |                             ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1505:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1505 |  [isl_ast_expr_op_pdiv_q] = "/",
      |                             ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1506:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1506 |  [isl_ast_expr_op_pdiv_r] = "%",
      |                             ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1507:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1507 |  [isl_ast_expr_op_zdiv_r] = "%",
      |                             ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1508:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1508 |  [isl_ast_expr_op_div] = "/",
      |                          ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1509:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1509 |  [isl_ast_expr_op_eq] = "==",
      |                         ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1510:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1510 |  [isl_ast_expr_op_le] = "<=",
      |                         ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1511:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1511 |  [isl_ast_expr_op_ge] = ">=",
      |                         ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1512:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1512 |  [isl_ast_expr_op_lt] = "<",
      |                         ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1513:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1513 |  [isl_ast_expr_op_gt] = ">",
      |                         ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1514:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1514 |  [isl_ast_expr_op_member] = ".",
      |                             ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1515:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1515 |  [isl_ast_expr_op_address_of] = "&"
      |                                 ^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:4515:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_multi_aff_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:511:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  511 |  if (pw->n + n <= pw->size)
      |                ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_multi_aff_add_disjoint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:541:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  541 |  if (pw1->size < pw1->n + pw2->n && pw1->n < pw2->n)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'print_min_max_c':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1832:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1832 |  for (i = 1; i < expr->u.op.n_arg; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1837:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1837 |  for (i = 1; i < expr->u.op.n_arg; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'print_call_c':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1857:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1857 |  for (i = 1; i < expr->u.op.n_arg; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'print_access_c':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1877:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1877 |  for (i = 1; i < expr->u.op.n_arg; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: At top level:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1968:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1968 |  [isl_ast_expr_op_and] = "and",
      |                          ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1969:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1969 |  [isl_ast_expr_op_and_then] = "and_then",
      |                               ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1970:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1970 |  [isl_ast_expr_op_or] = "or",
      |                         ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1971:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1971 |  [isl_ast_expr_op_or_else] = "or_else",
      |                              ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1972:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1972 |  [isl_ast_expr_op_max] = "max",
      |                          ^~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:16:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1973:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1973 |  [isl_ast_expr_op_min] = "min",
      |                          ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1974:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1974 |  [isl_ast_expr_op_minus] = "minus",
      |                            ^~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1975:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1975 |  [isl_ast_expr_op_add] = "add",
      |                          ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1976:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1976 |  [isl_ast_expr_op_sub] = "sub",
      |                          ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1977:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1977 |  [isl_ast_expr_op_mul] = "mul",
      |                          ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1978:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1978 |  [isl_ast_expr_op_div] = "div",
      |                          ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1979:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1979 |  [isl_ast_expr_op_fdiv_q] = "fdiv_q",
      |                             ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1980:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1980 |  [isl_ast_expr_op_pdiv_q] = "pdiv_q",
      |                             ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1981:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1981 |  [isl_ast_expr_op_pdiv_r] = "pdiv_r",
      |                             ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1982:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1982 |  [isl_ast_expr_op_zdiv_r] = "zdiv_r",
      |                             ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1983:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1983 |  [isl_ast_expr_op_cond] = "cond",
      |                           ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1984:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1984 |  [isl_ast_expr_op_select] = "select",
      |                             ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1985:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1985 |  [isl_ast_expr_op_eq] = "eq",
      |                         ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1986:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1986 |  [isl_ast_expr_op_le] = "le",
      |                         ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1987:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1987 |  [isl_ast_expr_op_lt] = "lt",
      |                         ^~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1988:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1988 |  [isl_ast_expr_op_ge] = "ge",
      |                         ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1989:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1989 |  [isl_ast_expr_op_gt] = "gt",
      |                         ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1990:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1990 |  [isl_ast_expr_op_call] = "call",
      |                           ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1991:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1991 |  [isl_ast_expr_op_access] = "access",
      |                             ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1992:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1992 |  [isl_ast_expr_op_member] = "member",
      |                             ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:1993:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1993 |  [isl_ast_expr_op_address_of] = "address_of"
      |                                 ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c: In function 'ast_expr_required_macros':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast.c:2633:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2633 |  for (i = 0; i < expr->u.op.n_arg; ++i)
      |                ^
[ 10%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_blk.c.o
/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) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c: In function 'bernstein_coefficients_cell':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:290:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  290 |  if (n_vertices > nvar + 1 && ctx->opt->bernstein_triangulate)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:302:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  302 |  for (i = 0; i < 1 + nvar; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:310:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  310 |   for (j = 0; j < nvar; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bernstein.c:348:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  348 |  for (i = 0; i < 1 + nvar; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:6180:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_pw_multi_aff_check_range':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   15 |  if (first + n > dim || first + n < first)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:157,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:6588:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_multi_pw_aff_check_range':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/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)
      |                         ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ast_graft.c:29:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_graft_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_graft_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_graft_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_ast_graft_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:157,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:8688:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_multi_union_pw_aff_check_range':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   15 |  if (first + n > dim || first + n < first)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff.c:8688:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_union_pw_aff_get_at':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:163:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
  163 |  isl_ctx *ctx;
      |           ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_union_pw_aff_drop_dims':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:506:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  506 |   for (i = 0; i < n; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:508:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  508 |   for (i = first; i + n < multi->n; ++i)
      |                         ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/hash.h:15,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:10:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_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_blk.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
[ 10%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_bound.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c: In function 'isl_blk_is_error':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:39:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
   39 |  return block.size == -1 && block.data == NULL;
      |                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c: In function 'isl_blk_free_force':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:46:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
   46 |  for (i = 0; i < block.size; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c: In function 'extend':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.c:67:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
   67 |  for (i = block.size; i < new_n; ++i)
      |                         ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bound.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bound.c:11:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bound.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bound.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_bound.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
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<T, <anonymous> >::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/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<T> &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<T> &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<T> &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<decltype(F(*O))> {
      |             ^~~~~~~~
/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<decltype(F(*O))> {
      |        ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:21: error: expected initializer before '<' token
   47 |     -> std::optional<decltype(F(*O))> {
      |                     ^
/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<T> &&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<T> &&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<T> &&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<T> &&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<T> &&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<T> &&O, const Function &F)
      |                                                                ^
      |                                                                ;
   57 |     -> std::optional<decltype(F(*std::move(O)))> {
      |     ~~                                                          
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 {
      |              ^~~
/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<T>::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<T>::is_signed) {
      |          ^~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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/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();
      |                                     ^~~~~~
[ 10%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_box.c.o
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/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<PointerTy, IntBits, IntType, PtrTraits, Info>&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  236 |   if constexpr (I == 0)
      |      ^~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint16_t llvm::ByteSwap_16(uint16_t)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:51:60: error: 'byteswap' is not a member of 'llvm'
   51 | inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint32_t llvm::ByteSwap_32(uint32_t)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:54:60: error: 'byteswap' is not a member of 'llvm'
   54 | inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint64_t llvm::ByteSwap_64(uint64_t)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:57:60: error: 'byteswap' is not a member of 'llvm'
   57 | inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned char llvm::sys::getSwappedBytes(unsigned char)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:69:80: error: 'byteswap' is not a member of 'llvm'
   69 | inline unsigned char      getSwappedBytes(unsigned char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'signed char llvm::sys::getSwappedBytes(signed char)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:70:80: error: 'byteswap' is not a member of 'llvm'
   70 | inline   signed char      getSwappedBytes( signed  char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'char llvm::sys::getSwappedBytes(char)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:71:80: error: 'byteswap' is not a member of 'llvm'
   71 | inline          char      getSwappedBytes(         char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short unsigned int llvm::sys::getSwappedBytes(short unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:73:80: error: 'byteswap' is not a member of 'llvm'
   73 | inline unsigned short     getSwappedBytes(unsigned short     C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short int llvm::sys::getSwappedBytes(short int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:74:80: error: 'byteswap' is not a member of 'llvm'
   74 | inline   signed short     getSwappedBytes(  signed short     C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned int llvm::sys::getSwappedBytes(unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:76:80: error: 'byteswap' is not a member of 'llvm'
   76 | inline unsigned int       getSwappedBytes(unsigned int       C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'int llvm::sys::getSwappedBytes(int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:77:80: error: 'byteswap' is not a member of 'llvm'
   77 | inline   signed int       getSwappedBytes(  signed int       C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long unsigned int llvm::sys::getSwappedBytes(long unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:79:80: error: 'byteswap' is not a member of 'llvm'
   79 | inline unsigned long      getSwappedBytes(unsigned long      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long int llvm::sys::getSwappedBytes(long int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:80:80: error: 'byteswap' is not a member of 'llvm'
   80 | inline   signed long      getSwappedBytes(  signed long      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long unsigned int llvm::sys::getSwappedBytes(long long unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:82:80: error: 'byteswap' is not a member of 'llvm'
   82 | inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long int llvm::sys::getSwappedBytes(long long int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:83:80: error: 'byteswap' is not a member of 'llvm'
   83 | inline   signed long long getSwappedBytes(  signed long long C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'float llvm::sys::getSwappedBytes(float)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:91:17: error: 'byteswap' is not a member of 'llvm'
   91 |   out.i = llvm::byteswap(in.i);
      |                 ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'double llvm::sys::getSwappedBytes(double)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:101:17: error: 'byteswap' is not a member of 'llvm'
  101 |   out.i = llvm::byteswap(in.i);
      |                 ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'std::enable_if_t<std::is_enum<_Tp>::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<std::underlying_type_t<T>>(C)));
      |             ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:55: error: 'optional' in namespace 'std' does not name a template type
  127 | template <typename T> hash_code hash_value(const std::optional<T> &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 <typename T> hash_code hash_value(const std::optional<T> &arg);
      |                                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:63: error: expected ',' or '...' before '<' token
  127 | template <typename T> hash_code hash_value(const std::optional<T> &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 <typename T> hash_code hash_value(const std::optional<T> &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 <typename T> hash_code hash_value(const std::optional<T> &arg) {
      |                                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:63: error: expected ',' or '...' before '<' token
  668 | template <typename T> hash_code hash_value(const std::optional<T> &arg) {
      |                                                               ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:669:10: error: 'arg' was not declared in this scope
  669 |   return arg ? hash_combine(true, *arg) : hash_value(false);
      |          ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<std::is_same<T, Ts>...>;
      |                        ^~~~~~~~~~~
/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<std::is_same<T, Ts>...>;
      |                   ^~~
/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<std::is_base_of<T, Ts>...>;
      |                          ^~~~~~~~~~~
/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<std::is_base_of<T, Ts>...>;
      |                     ^~~
/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<bool, !is_one_of<T, Us...>::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<bool, !is_one_of<T, Us...>::value &&
      |                                              ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:55: error: template argument 2 is invalid
  155 |     : std::integral_constant<bool, !is_one_of<T, Us...>::value &&
      |                                                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:56: error: expected '{' before '::' token
  155 |     : std::integral_constant<bool, !is_one_of<T, Us...>::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<std::remove_pointer_t<remove_cvref_t<T>>>>
      |                       ^~~~~~~~~~~~~
      |                       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<std::remove_pointer_t<remove_cvref_t<T>>>>
      |                                                                             ^~
/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<value_type> 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<value_type> 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<value_type>,
      |                       ^~~~~~~~~~~~
      |                       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<value_type>,
      |                                              ^
/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<value_type>,
      |                                   ^
/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<value_type>,
      |                                               ^
/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<std::is_invocable_v<T, Pn...>, 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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  257 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, 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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<std::is_invocable_v<T, Pn...>, 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<std::is_invocable_v<T const, Pn...>, 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<std::is_invocable_v<T const, Pn...>, 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<std::is_invocable_v<T const, Pn...>, int> = 0>
      |                                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::callable_detail::Callable<T, <anonymous> >::Callable(const T&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:26: error: class 'llvm::callable_detail::Callable<T, <anonymous> >' 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<T, <anonymous> >& llvm::callable_detail::Callable<T, <anonymous> >::operator=(const llvm::callable_detail::Callable<T, <anonymous> >&)':
/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<T, <anonymous> >& llvm::callable_detail::Callable<T, <anonymous> >::operator=(llvm::callable_detail::Callable<T, <anonymous> >&&)':
/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<T, <anonymous> >::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<T, <anonymous> >::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<T, <anonymous> >::operator llvm::callable_detail::Callable<T, <anonymous> >::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<T, <anonymous> >::operator llvm::callable_detail::Callable<T, <anonymous> >::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<remove_cvref_t<T>>;
      |                                      ^~~~~~~~~~~~
      |                                      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<remove_cvref_t<T>>;
      |                                                                   ^~
/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<remove_cvref_t<T>>;
      |                                                                     ^
/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<remove_cvref_t<FnPtrOrRef>, 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<remove_cvref_t<FnPtrOrRef>, 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<remove_cvref_t<FnPtrOrRef>, 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<std::is_invocable_v<T, Pn...>, 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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  313 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, 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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                                                  ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In static member function 'static constexpr auto llvm::callable_detail::Callable<T, true>::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<T, true>::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<T, true>::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<T, true>::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<T>,
      |                          ^~~~~~~~~~~~~~
      |                          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<T>,
      |                                          ^
/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<T>,
      |                                           ^
/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<FuncTy> 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<ContainerTy>::value)
      |      ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_common<ZipType, Iters>::test_all_equals(const llvm::detail::zip_common<ZipType, Iters>&, std::index_sequence<Ns ...>) 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 |             ...);
      |             ^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_box.c:15:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/val.h:5,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_box.c:13:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_shortest<Iters>::test(const llvm::detail::zip_shortest<Iters>&, std::index_sequence<Ns ...>) 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<std::remove_const_t<
      |                     ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:16: note: 'std::optional' is only available from C++17 onwards
  935 |   using type = std::optional<std::remove_const_t<
      |                ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_longest_iterator<Iters>::test(const llvm::detail::zip_longest_iterator<Iters>&, std::index_sequence<Ns ...>) 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 |             ...);
      |             ^~~
[ 10%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_coalesce.c.o
/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<std::is_same<T, Ts>...>;
      |                        ^~~~~~~~~~~
/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<std::is_same<T, Ts>...>;
      |                   ^~~
/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<std::is_base_of<T, Ts>...>;
      |                          ^~~~~~~~~~~
/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<std::is_base_of<T, Ts>...>;
      |                     ^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_box.c:15:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.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/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/.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<IteratorTy>::value) {
      |      ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:25: error: 'sort_trivially_copyable' is not a member of 'llvm::detail'
 1684 |   if constexpr (detail::sort_trivially_copyable<IteratorTy>::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<IteratorTy>::value) {
      |                                                           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:62: error: '::value' has not been declared
 1684 |   if constexpr (detail::sort_trivially_copyable<IteratorTy>::value) {
      |                                                              ^~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_box.c:15:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_box.c:15:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'decltype(auto) llvm::detail::get(const llvm::detail::result_pair<R>&)':
/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
[ 13%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_constraint.c.o
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<T>() {}
      |                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:34: error: invalid use of '::'
  323 |     /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef<T>() {}
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:472:65: error: expected constructor, destructor, or type conversion before ';' token
  472 |   template <typename T> ArrayRef(const T &OneElt) -> ArrayRef<T>;
      |                                                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:475:78: error: expected constructor, destructor, or type conversion before ';' token
  475 |   template <typename T> ArrayRef(const T *data, size_t length) -> ArrayRef<T>;
      |                                                                              ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:478:77: error: expected constructor, destructor, or type conversion before ';' token
  478 |   template <typename T> ArrayRef(const T *data, const T *end) -> ArrayRef<T>;
      |                                                                             ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:481:79: error: expected constructor, destructor, or type conversion before ';' token
  481 |   template <typename T> ArrayRef(const SmallVectorImpl<T> &Vec) -> ArrayRef<T>;
      |                                                                               ^
/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<T, N> &Vec) -> ArrayRef<T>;
      |                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:488:75: error: expected constructor, destructor, or type conversion before ';' token
  488 |   template <typename T> ArrayRef(const std::vector<T> &Vec) -> ArrayRef<T>;
      |                                                                           ^
/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<T, N> &Vec) -> ArrayRef<T>;
      |                                                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:495:72: error: expected constructor, destructor, or type conversion before ';' token
  495 |   template <typename T> ArrayRef(const ArrayRef<T> &Vec) -> ArrayRef<T>;
      |                                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:498:66: error: expected constructor, destructor, or type conversion before ';' token
  498 |   template <typename T> ArrayRef(ArrayRef<T> &Vec) -> ArrayRef<T>;
      |                                                                  ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:501:77: error: expected constructor, destructor, or type conversion before ';' token
  501 |   template <typename T, size_t N> ArrayRef(const T (&Arr)[N]) -> ArrayRef<T>;
      |                                                                             ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:580:70: error: expected constructor, destructor, or type conversion before ';' token
  580 |   template <class T> MutableArrayRef(T &OneElt) -> MutableArrayRef<T>;
      |                                                                      ^
/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<T>;
      |                                                                ^
/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<T> &Vec) -> MutableArrayRef<T>;
      |                                                                 ^
/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<T, N> &Vec) -> MutableArrayRef<T>;
      |                                                                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:595:80: error: expected constructor, destructor, or type conversion before ';' token
  595 |   template <class T> MutableArrayRef(std::vector<T> &Vec) -> MutableArrayRef<T>;
      |                                                                                ^
/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<T, N> &Vec) -> MutableArrayRef<T>;
      |                                                               ^
/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<T>;
      |                                                     ^
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<To, std::optional<From>> {
      |                                ^~~~~~~~
/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<To, std::optional<From>> {
      |                                         ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:45: error: expected unqualified-id before '>' token
  266 | struct CastIsPossible<To, std::optional<From>> {
      |                                             ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std'
  369 |           std::optional<To>, 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<To>, From,
      |                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:310:8: note: provided for 'template<class To, class From, class Derived> 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<Derived, OptionalValueCast<To, From>>> {
      |                                                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std'
  540 | struct CastInfo<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                          ^~~~~~~~
/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<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                                   ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:39: error: expected unqualified-id before '>' token
  540 | struct CastInfo<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                                       ^~
/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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |          ^~~~~~~~~~~~
      |          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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:26: error: expected primary-expression before '||' token
  595 |     std::is_pointer_v<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                          ^~
/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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                                  ^~~~~~~~~~~~~~~~~~
      |                                  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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std'
  610 | template <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                  ^~~~~~~~
/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 <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:60: error: expected unqualified-id before '>' token
  610 | template <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                            ^~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<Align> {
      |                                         ^
/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
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:23:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:23:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:224:7: error: 'uint8_t llvm::Align::ShiftValue' is private within this context
  224 |   Out.ShiftValue = Value - 1;
      |       ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:41:11: note: declared private here
   41 |   uint8_t ShiftValue = 0; /// The log2 of the required alignment.
      |           ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h: In function 'unsigned int llvm::encode(llvm::Align)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:230:61: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
  230 | inline unsigned encode(Align A) { return encode(MaybeAlign(A)); }
      |                                                             ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:23:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/.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<Align> {
      |        ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.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<Align> {
      |        ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.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/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/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:23:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:23:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/.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/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/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<Align> {
      |        ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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<Align> {
      |        ^~~~~~~~~~
/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/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:13:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'eq_status_in':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:82:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   82 |  for (k = 0; k < bmap_i->n_eq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'ineq_status_in':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:111:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  111 |  for (k = 0; k < bmap_i->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'any':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:133:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  133 |  for (i = 0; i < len ; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'find':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:146:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  146 |  for (i = 0; i < len ; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'count':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:157:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  157 |  for (i = 0; i < len ; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_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_coalesce.c: In function 'all':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:167:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  167 |  for (i = 0; i < len ; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'all_valid_or_cut':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:291:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  291 |  for (i = 0; i < 2 * info->bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:301:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  301 |  for (i = 0; i < info->bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'add_valid_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:437:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  437 |  for (k = 0; k < info->bmap->n_eq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:457:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  457 |  for (k = 0; k < info->bmap->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'number_of_constraints_increases':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:483:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  483 |  for (k = 0; k < bmap->n_ineq; ++k)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'fuse':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:539:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  539 |  for (k = 0; k < info[i].bmap->n_div; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:553:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  553 |  for (k = 0; k < extra_rows; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'check_facets':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:636:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  636 |  for (k = 0; k < info[i].bmap->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:641:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  641 |   for (l = 0; l < info[j].bmap->n_ineq; ++l) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:653:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  653 |   if (l < info[j].bmap->n_ineq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:657:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  657 |  if (k < info[i].bmap->n_ineq) {
      |        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'contains':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:680:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  680 |  for (k = 0; k < bmap->n_eq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:696:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  696 |  for (k = 0; k < bmap->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'not_unique_unit_row':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:843:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  843 |  for (j = 1; j < T->n_row; ++j) {
      |                ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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<uint32_t> Tolerance);
      |                                              ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:54: error: expected ',' or '...' before '<' token
  208 |   void setDiagnosticsMisExpectTolerance(std::optional<uint32_t> Tolerance);
      |                                                      ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'tighten_on_relaxed_facet':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:44: error: 'std::optional' has not been declared
  225 |   void setDiagnosticsHotnessThreshold(std::optional<uint64_t> Threshold);
      |                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:52: error: expected ',' or '...' before '<' token
  225 |   void setDiagnosticsHotnessThreshold(std::optional<uint64_t> Threshold);
      |                                                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1003:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1003 |  for (i = 0; i < info->bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'extend':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1055:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1055 |  for (l = 0; l < info[i].bmap->n_div; ++l)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'wraps_update_max':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1193:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1193 |  for (k = 0; k < info->bmap->n_eq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1202:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1202 |  for (k = 0; k < info->bmap->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'allow_wrap':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1276:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1276 |  for (i = 1; i < wraps->mat->n_col; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'add_selected_wraps':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1357:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1357 |  for (l = 0; l < bmap->n_ineq; ++l) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1377:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1377 |  for (l = 0; l < bmap->n_eq; ++l) {
      |                ^
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<llvm::MetadataAsValue*, llvm::Metadata*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>'
/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<llvm::MetadataAsValue*, llvm::Metadata*>' 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<llvm::MetadataAsValue*, llvm::Metadata*>':
/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<llvm::MetadataAsValue*, llvm::Metadata*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:28:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_constraint_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_constraint_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_constraint_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'try_wrap_in_facets':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1894:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1894 |  for (k = 0; k < info[i].bmap->n_eq; ++k) {
      |                ^
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<void*, std::pair<llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>, long long unsigned int>, 4>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:289:58:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:1913:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1913 |  for (k = 0; k < info[i].bmap->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'can_wrap_in_set':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2070:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2070 |  for (k = 0; k < info[i].bmap->n_eq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_constraint_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2092:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2092 |  for (k = 0; k < info[i].bmap->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'isl_basic_map_foreach_constraint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:218:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  218 |  for (i = 0; i < bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:227:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  227 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'all_cut_by_one':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2135:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2135 |  for (l = 0; l < info[i].bmap->n_ineq; ++l) {
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:400:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_constraint_check_range':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   15 |  if (first + n > dim || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'isl_constraint_involves_dims':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:423:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  423 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'isl_basic_map_has_defining_equality':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:777:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  777 |  for (i = 0; i < bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'isl_basic_set_has_defining_inequalities':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:821:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  821 |  for (i = 0; i < bset->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:831:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  831 |   for (j = i + 1; j < bset->n_ineq; ++j) {
      |                     ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'all_ineq_valid_or_single_adj_ineq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2418:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2418 |  for (i = 0; i < info->bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'set_smallest_upper_bound':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:918:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  918 |  for (j = 0; j < bset->n_ineq; ++j) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'set_largest_lower_bound':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:948:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  948 |  for (j = 0; j < bset->n_ineq; ++j) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'foreach_upper_bound':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:974:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  974 |  for (i = 0; i < bset->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:994:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  994 |  if (i < bset->n_ineq)
      |        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'foreach_lower_bound':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1016:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1016 |  for (i = 0; i < bset->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1036:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1036 |  if (i < bset->n_ineq)
      |        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'foreach_bound_pair':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1059:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1059 |  for (i = 0; i < bset->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1070:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1070 |   for (j = 0; j < bset->n_ineq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1098:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1098 |   if (j < bset->n_ineq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1104:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1104 |  if (i < bset->n_ineq)
      |        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c: In function 'isl_basic_set_foreach_bound_pair':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1157:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1157 |  for (i = 0; i < bset->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_constraint.c:1173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1173 |  for (i = 0; i < bset->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'harmonize_divs_with_hulls':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2871:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2871 |  for (i = 0; i < info1->bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2898:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2898 |  if (i < info1->bmap->n_div)
      |        ^
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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>'
/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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>' 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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>':
/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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'same_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:2992:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2992 |  for (i = 0; i < bmap1->n_div; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'copy_ineq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:3011:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3011 |  for (i = n_ineq; i < bmap->n_ineq; ++i)
      |                     ^
[ 13%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_convex_hull.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c: In function 'tab_insert_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_coalesce.c:3181:18: warning: ordered comparison of pointer with integer zero [-Wextra]
 3181 |   if (info->bmap < 0)
      |                  ^
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<Metadata *> Ops1, ArrayRef<Metadata *> Ops2 = std::nullopt);
      |                                                                      ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::MutableArrayRef<llvm::MDOperand> 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::MDOperand> 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<const MDOperand *>(this) - SmallSize,
      |                      ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:327:45: error: 'nullopt' is not a member of 'std'
  327 |     return dropUnknownNonDebugMetadata(std::nullopt);
      |                                             ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h: In member function 'void llvm::Instruction::dropUnknownNonDebugMetadata(unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:330:48: error: missing template arguments before '(' token
  330 |     return dropUnknownNonDebugMetadata(ArrayRef(ID1));
      |                                                ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:534:8: error: 'optional' in namespace 'std' does not name a template type
  534 |   std::optional<uint64_t> 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<uint64_t> getIrrLoopHeaderWeight() const;
      |   ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/CodeGen.h:66:15: error: 'optional' in namespace 'std' does not name a template type
   66 |   inline std::optional<Level> 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<Level> 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<Level> 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<Level> parseLevel(char C) {
      |          ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:18: error: 'optional' in namespace 'std' does not name a template type
  141 |       const std::optional<unsigned> &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<unsigned> &NumElemsArg);
      |             ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:26: error: expected ',' or '...' before '<' token
  141 |       const std::optional<unsigned> &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<unsigned, std::optional<unsigned>> 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<unsigned, std::optional<unsigned>> 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<unsigned> 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<unsigned> 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<std::pair<unsigned, std::optional<unsigned>>> 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<std::pair<unsigned, std::optional<unsigned>>> 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<unsigned> 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<unsigned> 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<unsigned> &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<unsigned> &NumElemsArg);
      |                               ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:44: error: expected ',' or '...' before '<' token
  735 |                         const std::optional<unsigned> &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<uint64_t> 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<uint64_t> 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<std::pair<unsigned, std::optional<unsigned>>> 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<std::pair<unsigned, std::optional<unsigned>>> 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<unsigned> &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<unsigned> &NumElemsArg);
      |                                       ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:52: error: expected ',' or '...' before '<' token
 1197 |                                 const std::optional<unsigned> &NumElemsArg);
      |                                                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:40: error: 'std::optional' has not been declared
 1201 |                                   std::optional<unsigned> MaxValue);
      |                                        ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:48: error: expected ',' or '...' before '<' token
 1201 |                                   std::optional<unsigned> MaxValue);
      |                                                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1114:35: error: return type 'struct llvm::MaybeAlign' is incomplete
 1114 |   MaybeAlign getAlignment() const {
      |                                   ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getAlignment() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1115 |     return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0));
      |                       ^~~~~~~~~~~~~
      |                       addRawIntAttr
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:70: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1115 |     return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0));
      |                                                                      ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1119:40: error: return type 'struct llvm::MaybeAlign' is incomplete
 1119 |   MaybeAlign getStackAlignment() const {
      |                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getStackAlignment() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1120 |     return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0));
      |                       ^~~~~~~~~~~~~
      |                       addRawIntAttr
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1120:75: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1120 |     return MaybeAlign(getRawIntAttr(Attribute::StackAlignment).value_or(0));
      |                                                                           ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableBytes() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1126:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1126 |     return getRawIntAttr(Attribute::Dereferenceable).value_or(0);
      |            ^~~~~~~~~~~~~
      |            addRawIntAttr
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableOrNullBytes() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1132:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1132 |     return getRawIntAttr(Attribute::DereferenceableOrNull).value_or(0);
      |            ^~~~~~~~~~~~~
      |            addRawIntAttr
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addAlignmentAttr(unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1172:45: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1172 |     return addAlignmentAttr(MaybeAlign(Align));
      |                                             ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:38: error: 'string_view' in namespace 'std' does not name a type
  252 |   raw_ostream &operator<<(const std::string_view &Str) {
      |                                      ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:33: note: 'std::string_view' is only available from C++17 onwards
  252 |   raw_ostream &operator<<(const std::string_view &Str) {
      |                                 ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In member function 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:22: error: request for member 'data' in 'Str', which is of non-class type 'const int'
  253 |     return write(Str.data(), Str.length());
      |                      ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:253:34: error: request for member 'length' in 'Str', which is of non-class type 'const int'
  253 |     return write(Str.data(), Str.length());
      |                                  ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:459:16: error: 'optional' in namespace 'std' does not name a template type
  459 |   mutable std::optional<bool> 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<bool> HasColors;
      |           ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'wrap_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:234:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  234 |   for (j = 0; j < set->p[i]->n_eq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:241:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  241 |   for (j = 0; j < set->p[i]->n_ineq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'initial_facet_constraint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:424:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  424 |   for (i = 0; i < face->n_eq; ++i)
      |                 ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:429:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  429 |   isl_assert(set->ctx, i < face->n_eq, goto error);
      |                          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4'
  148 |   if (test)      \
      |       ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:429:3: note: in expansion of macro 'isl_assert'
  429 |   isl_assert(set->ctx, i < face->n_eq, goto error);
      |   ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'extend':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:554:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  554 |  for (i = 0; i < hull->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:569:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  569 |   for (j = 0; j < facet->n_ineq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:570:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  570 |    for (f = 0; f < hull_facet->n_ineq; ++f)
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:574:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  574 |    if (f < hull_facet->n_ineq)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'convex_hull_1d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:634:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  634 |   for (j = 0; j < set->p[0]->n_ineq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:652:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  652 |   for (j = 0; j < bset->n_eq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:672:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  672 |   for (j = 0; j < bset->n_ineq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'convex_hull_pair_elim':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:762:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  762 |   for (j = 0; j < bset[i]->n_eq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:771:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  771 |   for (j = 0; j < bset[i]->n_ineq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'induced_lineality_space':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:888:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  888 |  for (i = 0; i < bset1->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:895:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  895 |  for (i = 0; i < bset1->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:902:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  902 |  for (i = 0; i < bset2->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:909:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  909 |  for (i = 0; i < bset2->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'valid_direction_lp':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1021:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1021 |  for (i = 0; i < d; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1029:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1029 |   for (j = 0; j < bset1->n_eq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1033:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1033 |   for (j = 0; j < bset1->n_ineq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1038:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1038 |   for (j = 0; j < bset2->n_eq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1042:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1042 |   for (j = 0; j < bset2->n_ineq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'valid_direction':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1107:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1107 |  for (i = 0; i < bset1->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1116:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1116 |  for (i = 0; i < bset1->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'convex_hull_pair':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1322:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 1322 |  if (lin->n_eq < total) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'isl_basic_set_lineality_space':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1366:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1366 |  for (i = 0; i < bset->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1376:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1376 |  for (i = 0; i < bset->n_ineq && lin->n_eq < dim; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1376:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 1376 |  for (i = 0; i < bset->n_ineq && lin->n_eq < dim; ++i) {
      |                                            ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'uset_convex_hull_unbounded':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1467:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 1467 |   if (t->n_eq < total) {
      |               ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'initial_hull':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1504:31: warning: comparison of integer expressions of different signedness: 'isl_size' {aka 'int'} and 'unsigned int' [-Wsign-compare]
 1504 |  isl_assert(set->ctx, 1 + dim == bounds->n_col, goto error);
      |                               ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4'
  148 |   if (test)      \
      |       ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1504:2: note: in expansion of macro 'isl_assert'
 1504 |  isl_assert(set->ctx, 1 + dim == bounds->n_col, goto error);
      |  ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'common_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1644:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 1644 |   if (set->p[i]->n_ineq >= min_constraints)
      |                         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1660:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1660 |  for (i = 0; i < set->p[best]->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1684:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1684 |   for (i = 0; i < set->p[s]->n_eq; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1693:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1693 |   for (i = 0; i < set->p[s]->n_ineq; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1718:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1718 |   for (i = 0; i < set->p[s]->n_ineq; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1727:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1727 |   if (i == set->p[s]->n_ineq)
      |         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'uset_convex_hull':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:1831:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 1831 |  if (lin->n_eq < dim)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'sh_data_free':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2021:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2021 |  for (i = 0; i < data->n; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'hash_basic_set':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2071:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2071 |  for (i = 0; i < bset->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2078:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2078 |  for (i = 0; i < bset->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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<T> &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<T> &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<T> &O) {
      |                                                             ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'add_bounds':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2316:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2316 |  for (j = 0; j < set->p[i]->n_eq; ++j) {
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2323:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2323 |  for (j = 0; j < set->p[i]->n_ineq; ++j)
      |                ^
/pbulk/work/devel/polly/work/.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/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'uset_unshifted_simple_hull_from_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2803:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 2803 |   last_added = hull->n_ineq > hull_n_ineq;
      |                             ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'collect_inequalities':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2840:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2840 |   for (j = 0; j < bset->n_eq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:2845:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2845 |   for (j = 0; j < bset->n_ineq; ++j)
      |                 ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h: In member function 'llvm::ArrayRef<llvm::Type*> 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/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c: In function 'isl_set_bounded_simple_hull':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:3101:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3101 |   for (j = 0; j < hull->n_eq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:3108:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3108 |   if (j < hull->n_eq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_convex_hull.c:3111:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3111 |   for (j = 0; j < hull->n_ineq; ++j) {
      |                 ^
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::Type*> 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<are_base_of<Type, Tys...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  245 |   static std::enable_if_t<are_base_of<Type, Tys...>::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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<are_base_of<Type, Tys...>::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<are_base_of<Type, Tys...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  262 |   static std::enable_if_t<are_base_of<Type, Tys...>::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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<are_base_of<Type, Tys...>::value, StructType *>
      |                                                           ^
      |                                                           ;
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:267:3: error: redeclaration of 'template<class ... Tys> int llvm::StructType::value<Tys ...>'
  267 |   }
      |   ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:54: note: previous declaration 'template<class ... Tys> int llvm::StructType::value<Tys ...>'
  245 |   static std::enable_if_t<are_base_of<Type, Tys...>::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<are_base_of<Type, Tys...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  305 |   std::enable_if_t<are_base_of<Type, Tys...>::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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<are_base_of<Type, Tys...>::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<are_base_of<Type, Tys...>::value, void>
      |                                               ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<llvm::Type*> 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());
      |                    ^
[ 13%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ctx.c.o
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx.c:10:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/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<Type *> 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<unsigned> Ints = std::nullopt);
      |                                                            ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<llvm::Type*> 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<unsigned int> llvm::TargetExtType::int_params() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:780:20: error: missing template arguments before '(' token
  780 |     return ArrayRef(IntParams, getNumIntParameters());
      |                    ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:18,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalValue.h:642:8: error: 'optional' in namespace 'std' does not name a template type
  642 |   std::optional<ConstantRange> 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<ConstantRange> getAbsoluteSymbolRange() const;
      |   ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'uint64_t llvm::GlobalObject::getAlignment() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:16: error: variable 'llvm::MaybeAlign Align' has initializer but incomplete type
   71 |     MaybeAlign Align = getAlign();
      |                ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:71:33: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
   71 |     MaybeAlign Align = getAlign();
      |                                 ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:79:31: error: return type 'struct llvm::MaybeAlign' is incomplete
   79 |   MaybeAlign getAlign() const {
      |                               ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'void llvm::GlobalObject::getAlign() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:82:12: error: 'decodeMaybeAlign' was not declared in this scope
   82 |     return decodeMaybeAlign(AlignmentData);
      |            ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<ProfileCount> 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<ProfileCount> 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<StringRef> 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<StringRef> getSectionPrefix() const;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'bool llvm::Function::hasProfileData(bool) const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:290:12: error: 'getEntryCount' was not declared in this scope; did you mean 'setEntryCount'?
  290 |     return getEntryCount(IncludeSynthetic).has_value();
      |            ^~~~~~~~~~~~~
      |            setEntryCount
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:425:38: error: return type 'struct llvm::MaybeAlign' is incomplete
  425 |   MaybeAlign getFnStackAlign() const {
      |                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getFnStackAlign() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:426:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
  426 |     return AttributeSets.getFnStackAlignment();
      |                                              ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
[ 13%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_deprecated.c.o
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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<typename MapType::mapped_type>,
      |            ^~~~~~~~~~~~~
      |            is_integral
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:55: error: expected '(' before '>' token
   42 |       std::is_integral_v<typename MapType::mapped_type>,
      |                                                       ^
      |                                                       (
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:56: error: expected primary-expression before ',' token
   42 |       std::is_integral_v<typename MapType::mapped_type>,
      |                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: In member function 'ValueT llvm::MapVector<KeyT, ValueT, MapType, VectorType>::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<ValueT>,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
      |                        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<ValueT>,
      |                                                      ^
/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<ValueT>,
      |                                                       ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:20,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h:107:1: warning: inline variables are only available with '-std=c++17' or '-std=gnu++17'
  107 | inline constexpr force_iteration_on_noniterable_enum_t
      | ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMap.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'?
   88 | class StringMapEntryStorage<std::nullopt_t> : 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<std::nullopt_t> : 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<std::nullopt_t> : public StringMapEntryBase {
      |                                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h: In function 'decltype(auto) llvm::get(const llvm::StringMapEntry<ValueTy>&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:155:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  155 |   if constexpr (Index == 0)
      |      ^~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:2027:8: error: 'optional' in namespace 'std' does not name a template type
 2027 |   std::optional<OperandBundleUse> 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<OperandBundleUse> 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<OperandBundleUse> 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<OperandBundleUse> getOperandBundle(uint32_t ID) const {
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1743:34: error: return type 'struct llvm::MaybeAlign' is incomplete
 1743 |   MaybeAlign getRetAlign() const {
      |                                  ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getRetAlign() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1744:44: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1744 |     if (auto Align = Attrs.getRetAlignment())
      |                                            ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<TypeSize> 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<TypeSize> 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<TypeSize> 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<TypeSize> getAllocationSizeInBits(const DataLayout &DL) const;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1541:69: error: 'nullopt' is not a member of 'std'
 1541 |                           ArrayRef<OperandBundleDef> 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<OperandBundleDef> Bundles = std::nullopt,
      |                                                                     ^~~~~~~
[ 16%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_dim_map.c.o
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1642:58: error: 'nullopt' is not a member of 'std'
 1642 |                ArrayRef<OperandBundleDef> 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<OperandBundleDef> Bundles = std::nullopt,
      |                                                          ^~~~~~~
[ 16%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_equalities.c.o
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In constructor 'llvm::CallInst::CallInst(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, 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) {}
      |                                       ^~~~~~~
[ 16%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_factorization.c.o
/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<llvm::Value*>, 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);
      |                                       ^~~~~~~
[ 16%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_farkas.c.o
/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<llvm::Value*>, const llvm::Twine&, llvm::BasicBlock*)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1560:39: error: 'nullopt' is not a member of 'std'
 1560 |         CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertAtEnd);
      |                                       ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:8: error: 'optional' in namespace 'std' does not name a template type
 3627 |   std::optional<SmallVector<uint32_t, 8>> 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<SmallVector<uint32_t, 8>> 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<uint32_t>;
      |                              ^~~~~~~~
/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<uint32_t>;
      |                         ^~~
/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/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:13:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3870:71: error: 'nullopt' is not a member of 'std'
 3870 |                             ArrayRef<OperandBundleDef> 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<OperandBundleDef> 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<llvm::Value*>, 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/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:5,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/mat.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:4,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/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<llvm::Value*>, const llvm::Twine&, llvm::BasicBlock*)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3887:64: error: 'nullopt' is not a member of 'std'
 3887 |         InvokeInst(Ty, Func, IfNormal, IfException, Args, std::nullopt,
      |                                                                ^~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:5,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:5,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:5,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:11:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionCallee, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef<llvm::Value*>, 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/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_alloc':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:40:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   40 |  for (i = 0; i < len; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_range':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:62:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   62 |  for (i = 0; i < n; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_dim_range':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:81:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   81 |  for (i = 0; i < n; ++i) {
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:16:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:107:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  107 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_dump':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'particular_solution':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:117:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  117 |  for (i = 0; i < dim_map->len; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:82:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   82 |  for (i = 0; i < B->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'copy_constraint_dim_map':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:128:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  128 |  for (i = 0; i < dim_map->len; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:87:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   87 |   for (j = 0; j < B->n_col - 1; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_basic_map_add_constraints_dim_map':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:154:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  154 |  for (i = 0; i < src->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:99:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   99 |  for (i = 0; i < B->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:161:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  161 |  for (i = 0; i < src->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:104:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  104 |  if (i < B->n_row)
      |        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:168:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  168 |  for (i = 0; i < src->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_extend':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'parameter_compression_multi':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:178:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  178 |  for (i = 0; i < B->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:211:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |  for (i = 0; i < dim_map->len; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:213:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  213 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:184:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  184 |   for (k = 0; k < U->n_col; ++k)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c: In function 'isl_dim_map_from_reordering':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:187:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  187 |   for (j = 1; j < U->n_row; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:188:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  188 |    for (k = 0; k < U->n_col; ++k)
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_dim_map.c:246:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  246 |  for (i = 0; i < exp->len; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'isl_mat_parameter_compression':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:332:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  332 |  for (i = 0; i < B->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'insert_parameter_rows':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:475:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  475 |  for (i = 0; i < nparam; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'isl_mat_final_variable_compression':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:546:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  546 |  if (n < B->n_row)
      |        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:575:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  575 |   for (i = 0; i < B->n_row; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:583:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  583 |   if (i < B->n_row)
      |         ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/mat.h:15,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat_private.h:4,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c: In function 'compress_variables':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:681:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
  681 |  isl_assert(bset->ctx, bset->n_eq <= dim, goto error);
      |                                   ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4'
  148 |   if (test)      \
      |       ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_equalities.c:681:2: note: in expansion of macro 'isl_assert'
  681 |  isl_assert(bset->ctx, bset->n_eq <= dim, goto error);
      |  ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c: In function 'farkas':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:261:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  261 |  for (i = 0; i < bset->n_eq + bset->n_ineq; ++i) {
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:274:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  274 |   for (j = 0; j < bset->n_eq; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:277:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  277 |   for (j = 0; j < bset->n_ineq; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:282:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  282 |  for (i = 0; i < bset->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:297:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  297 |   for (j = 0; j < bset->n_eq; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_farkas.c:300:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  300 |   for (j = 0; j < bset->n_ineq; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/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<OperandBundleDef> 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<OperandBundleDef> Bundles = std::nullopt,
      |                                                                       ^~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c: In function 'init_groups':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:162:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  162 |  for (i = 0; i < H->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:164:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  164 |  for (i = 0, j = 0; i < H->n_col; ++i) {
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:165:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  165 |   for ( ; j < H->n_row; ++j)
      |             ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:170:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  170 |  for (i = 0; i < H->n_col; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c: In function 'update_group_i_with_row_j':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:203:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  203 |  for (k = i + 1; k < H->n_col && j >= g->pos[k]; ++k) {
      |                    ^
/pbulk/work/devel/polly/work/.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::BasicBlock*>, llvm::ArrayRef<llvm::Value*>, 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/polly-16.0.6.src/lib/External/isl/isl_factorization.c: In function 'update_groups':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:231:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  231 |  for (i = 0; i < H->n_col && g->cnt[0] < H->n_col; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:231:40: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  231 |  for (i = 0; i < H->n_col && g->cnt[0] < H->n_col; ++i) {
      |                                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:232:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  232 |   if (g->pos[i] == H->n_row)
      |                 ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:236:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  236 |   for (j = g->pos[i] + 1; j < H->n_row; ++j) {
      |                             ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_factorization.c:245:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  245 |  for (i = 1; i < H->n_col; ++i)
      |                ^
/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::BasicBlock*>, llvm::ArrayRef<llvm::Value*>, 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<Value *> 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<SyncScope::ID> 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<SyncScope::ID> getAtomicSyncScopeID(const Instruction *I) {
      |        ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:44,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<EltTy>::operator llvm::ArrayRef<T>() 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<EltTy>::operator llvm::MutableArrayRef<T>()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:147:19: error: 'nullopt' is not a member of 'std'
  147 |       return std::nullopt;
      |                   ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<uint64_t> 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<uint64_t> 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<int64_t> 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<int64_t> 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<APInt> 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<APInt> 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<unsigned> 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<unsigned> GetMostSignificantDifferentBit(const APInt &A,
      | ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
[ 18%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ffs.c.o
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:601:8: error: 'optional' in namespace 'std' does not name a template type
  601 |   std::optional<APInt> 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<APInt> getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:288:42: error: return type 'struct llvm::MaybeAlign' is incomplete
  288 |   MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; }
      |                                          ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:534:54: error: 'Alignment' has incomplete type
  534 |   inline Align getValueOrABITypeAlignment(MaybeAlign Alignment,
      |                                           ~~~~~~~~~~~^~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<Align> {
      |        ^~~~~~~~~~
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<long long unsigned int> 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<uint64_t>(),
      |                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::ArrayRef<long long unsigned int> 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<uint64_t>(), NumElements);
      |                          ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:28,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:23: error: 'std::optional' has not been declared
   62 |                  std::optional<unsigned> AddressSpace = std::nullopt,
      |                       ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:31: error: expected ',' or '...' before '<' token
   62 |                  std::optional<unsigned> 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<unsigned> 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 = "",
      |                                         ~~~~~~~~~~~~~^~~~~~~~~
[ 18%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_flow.c.o
[ 18%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_fold.c.o
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/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<CodeModel::Model> 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<CodeModel::Model> 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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std'
   73 |                 std::conjunction<
      |                      ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: error: 'negation' is not a member of 'std'
   74 |                     std::negation<std::is_same<std::decay_t<T>, 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<std::is_same<std::decay_t<T>, Any>>,
      |                                                                    ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:26: error: 'std::negation' has not been declared
   85 |                     std::negation<std::is_convertible<Any, std::decay_t<T>>>,
      |                          ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:34: error: expected '>' before '<' token
   85 |                     std::negation<std::is_convertible<Any, std::decay_t<T>>>,
      |                                  ^
/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<std::decay_t<T>>>::value,
      |                                                                   ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:68:48: error: 'disjunction' is not a member of 'std'
   68 | using EnableIfCallable = std::enable_if_t<std::disjunction<
      |                                                ^~~~~~~~~~~
/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/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
 2554 |     using enable_if_t = typename enable_if<_Cond, _Tp>::type;
      |           ^~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:15: error: 'llvm::detail::EnableIfCallable' has not been declared
  378 |       detail::EnableIfCallable<CallableT, R, P...> * = nullptr)
      |               ^~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:31: error: expected ',' or '...' before '<' token
  378 |       detail::EnableIfCallable<CallableT, R, P...> * = 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<R(P ...)>::unique_function(CallableT, llvm::detail::EnableUnlessSameType<CallableT, llvm::unique_function<R(P ...)> >*, int)'
  378 |       detail::EnableIfCallable<CallableT, R, P...> * = 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<CallableT, unique_function> * = 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<const CallableT, R, P...> * = nullptr)
      |               ^~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:31: error: expected ',' or '...' before '<' token
  404 |       detail::EnableIfCallable<const CallableT, R, P...> * = 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<R(P ...) const>::unique_function(CallableT, llvm::detail::EnableUnlessSameType<CallableT, llvm::unique_function<R(P ...) const> >*, int)'
  404 |       detail::EnableIfCallable<const CallableT, R, P...> * = 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<CallableT, unique_function> * = nullptr,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1792:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1792 |  [isl_ai_key_sink] = "sink",
      |                      ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1793:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1793 |  [isl_ai_key_must_source] = "must_source",
      |                             ^~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1794:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1794 |  [isl_ai_key_may_source] = "may_source",
      |                            ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1795:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1795 |  [isl_ai_key_kill] = "kill",
      |                      ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1796:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1796 |  [isl_ai_key_schedule_map] = "schedule_map",
      |                              ^~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1797:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1797 |  [isl_ai_key_schedule] = "schedule",
      |                          ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1876:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/extract_key.c: In function 'extract_key':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/extract_key.c:27:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   27 |   isl_stream_error(s, tok, "expecting key");
      |                            ^~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:28:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c: In function 'isl_stream_read_union_access_info':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1923:43: warning: implicit conversion from 'enum isl_ai_key' to 'enum isl_access_type' [-Wenum-conversion]
 1923 |    info = isl_union_access_info_set(info, key, access);
      |                                           ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1949:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1949 |   isl_stream_error(s, NULL, "unexpected extra elements");
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:28:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1954:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1954 |   isl_stream_error(s, NULL, "no sink specified");
      |                             ^~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:28:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1959:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1959 |   isl_stream_error(s, NULL, "no schedule specified");
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:28:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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<int64_t> 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<int64_t> tryExtValue() const {
      |   ^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h: In function 'std::string llvm::toString(const llvm::APInt&, unsigned int, bool, bool)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef)'
  322 |   return std::string(S.str());
      |                             ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: note:   candidate expects 3 arguments, 1 provided
  322 |   return std::string(S.str());
      |                             ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: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)
      |                ^
/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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
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<Args>(Items)));
      |                                                                 ^
/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_flow.c:1918:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1918 |    sink_set = 1;
      |    ~~~~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_flow.c:1919:3: note: here
 1919 |   case isl_ai_key_must_source:
      |   ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
[ 21%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_hash.c.o
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:26:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_fold_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_fold_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_fold_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:83:22: error: 'is_scalar_v' is not a member of 'std'; did you mean 'is_scalar'?
   83 |   static_assert(std::is_scalar_v<Arg>,
      |                      ^~~~~~~~~~~
      |                      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<Arg>,
      |                                     ^
/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<Arg>,
      |                                      ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:219:8: error: 'optional' in namespace 'std' does not name a template type
  219 |   std::optional<uint64_t> 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<uint64_t> FirstByteOffset;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:57: error: 'std::optional' has not been declared
  228 |   FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, std::optional<uint64_t> O,
      |                                                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:65: error: expected ',' or '...' before '<' token
  228 |   FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, std::optional<uint64_t> O,
      |                                                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In constructor 'llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef<unsigned char>, 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/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_fold_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: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<uint64_t> FirstByteOffset = std::nullopt,
      |                   ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:27: error: expected ',' or '...' before '<' token
  240 |              std::optional<uint64_t> FirstByteOffset = std::nullopt,
      |                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes(llvm::ArrayRef<unsigned char>, 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/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_qpolynomial_fold_add_dup_piece':
/pbulk/work/devel/polly/work/.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/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4'
  148 |   if (test)      \
      |       ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:2: note: in expansion of macro 'isl_assert'
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |  ^~~~~~~~~~
/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<uint64_t> FirstByteOffset = std::nullopt,
      |                              ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token
  249 |                         std::optional<uint64_t> FirstByteOffset = std::nullopt,
      |                                      ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:953:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_qpolynomial_fold_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:511:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  511 |  if (pw->n + n <= pw->size)
      |                ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_qpolynomial_fold_add_disjoint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:541:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  541 |  if (pw1->size < pw1->n + pw2->n && pw1->n < pw2->n)
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes_with_ascii(llvm::ArrayRef<unsigned char>, 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/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/hash.h:15,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:11:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c: In function 'isl_hash_mem':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:26:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
   26 |  for (i = 0; i < len; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c: In function 'isl_hash_table_find':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:183:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  183 |  if (4 * table->n >= 3 * size) {
      |                   ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/hash.h:15,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c: In function 'isl_hash_table_remove':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:225:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  225 |  isl_assert(ctx, h >= 0 && h < size, return);
      |                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4'
  148 |   if (test)      \
      |       ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:225:2: note: in expansion of macro 'isl_assert'
  225 |  isl_assert(ctx, h >= 0 && h < size, return);
      |  ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_hash.c:231:14: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  231 |   if (offset <= h2 - (h+1))
      |              ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c: In function 'isl_qpolynomial_list_plain_is_equal':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_fold.c:1331:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1331 |  for (i = 0; i < n; ++i) {
      |                ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:537:12: error: 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)' cannot be overloaded with 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)'
  537 |   explicit Expected(
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:529:3: note: previous declaration 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)'
  529 |   Expected(Expected<OtherT> &&Other,
      |   ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:28: error: 'optional' in namespace 'std' does not name a template type
 1054 | template <typename T> std::optional<T> expectedToOptional(Expected<T> &&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 <typename T> std::optional<T> expectedToOptional(Expected<T> &&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 <typename T> std::optional<T> expectedToStdOptional(Expected<T> &&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 <typename T> std::optional<T> expectedToStdOptional(Expected<T> &&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<size_t> 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<size_t> 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<size_t> 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<size_t> 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<size_t> 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<size_t> Line;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In member function 'virtual void llvm::FileError::log(llvm::raw_ostream&) const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1279:9: error: 'Line' was not declared in this scope
 1279 |     if (Line)
      |         ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In constructor 'llvm::FileError::FileError(const llvm::Twine&, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1305:21: error: 'E' was not declared in this scope
 1305 |     Err = std::move(E);
      |                     ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:5: error: 'Line' was not declared in this scope
 1306 |     Line = std::move(LineNum);
      |     ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:22: error: 'LineNum' was not declared in this scope
 1306 |     Line = std::move(LineNum);
      |                      ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In static member function 'static llvm::Error llvm::FileError::build(const llvm::Twine&, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1311:31: error: 'E' was not declared in this scope
 1311 |     handleAllErrors(std::move(E),
      |                               ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1317:53: error: 'Line' was not declared in this scope
 1317 |         std::unique_ptr<FileError>(new FileError(F, Line, std::move(Payload))));
      |                                                     ^~~~
[ 21%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_id.c.o
/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<size_t>(), 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<size_t>(), 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<size_t>(), 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<size_t>(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<size_t>(Line), std::move(E));
      |                                                  ^
[ 21%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_id_to_ast_expr.c.o
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:11:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
[ 21%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_id_to_id.c.o
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:17:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_id_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_id_list_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:165:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  165 |  if (first + n > list->n || first + n < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:173:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  173 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:175:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  175 |  for (i = first; i + n < list->n; ++i)
      |                        ^
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::AnalysisKey*, bool, 8>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:705:39:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(8)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_id_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_id_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c: In function 'isl_stream_read_id':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:262:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  262 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:12:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:157,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:307:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_multi_id_check_range':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c:15:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   15 |  if (first + n > dim || first + n < first)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id.c:307:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_id_get_at':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:163:11: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
  163 |  isl_ctx *ctx;
      |           ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c: In function 'isl_multi_id_drop_dims':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:506:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  506 |   for (i = 0; i < n; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_multi_templ.c:508:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  508 |   for (i = first; i + n < multi->n; ++i)
      |                         ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1137:9:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<llvm::AnalysisKey*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/usr/include/g++/type_traits:2092:9:   required from 'const size_t std::__strictest_alignment<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_size'
/usr/include/g++/type_traits:2113:56:   required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_len'
/usr/include/g++/type_traits:2119:71:   required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/usr/include/g++/type_traits:2546:11:   required by substitution of 'template<unsigned int _Len, class ... _Types> using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9:   required from 'struct llvm::AlignedCharArrayUnion<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59:   required from 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>' 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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<llvm::AnalysisKey*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/usr/include/g++/type_traits:2092:9:   required from 'const size_t std::__strictest_alignment<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_size'
/usr/include/g++/type_traits:2113:56:   required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_len'
/usr/include/g++/type_traits:2119:71:   required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/usr/include/g++/type_traits:2546:11:   required by substitution of 'template<unsigned int _Len, class ... _Types> using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9:   required from 'struct llvm::AlignedCharArrayUnion<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59:   required from 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h: In member function 'void llvm::RepeatedPass<PassT>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef(llvm::StringRef)>)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1342:21: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int')
 1342 |     OS << "repeat<" << Count << ">(";
      |     ~~~~~~~~~~~~~~~ ^~ ~~~~~
      |        |               |
      |        |               int
      |        llvm::raw_ostream
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)'
  190 |   raw_ostream &operator<<(char C) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)'
  197 |   raw_ostream &operator<<(unsigned char C) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)'
  204 |   raw_ostream &operator<<(signed char C) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)'
  252 |   raw_ostream &operator<<(const std::string_view &Str) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)'
  260 |   raw_ostream &operator<<(unsigned long N);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)'
  261 |   raw_ostream &operator<<(long N);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)'
  262 |   raw_ostream &operator<<(unsigned long long N);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)'
  263 |   raw_ostream &operator<<(long long N);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)'
  266 |   raw_ostream &operator<<(unsigned int N) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)'
  270 |   raw_ostream &operator<<(int N) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)'
  274 |   raw_ostream &operator<<(double N);
      |                ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)'
  553 |   inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) {
      |                       ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)'
  757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t);
      |              ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h: In member function 'llvm::BitVector::size_type llvm::BitVector::count() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:158:24: error: 'popcount' is not a member of 'llvm'; did you mean 'count'?
  158 |       NumBits += llvm::popcount(Bit);
      |                        ^~~~~~~~
      |                        count
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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<unsigned> 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<unsigned> 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<ThreadPoolStrategy>
      |        ^~~~~~~~
/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<ThreadPoolStrategy>
      |   ^~~
/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<ThreadPoolStrategy> 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<ThreadPoolStrategy> 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<ThreadPoolStrategy> 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
[ 24%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_id_to_pw_aff.c.o
[ 24%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_ilp.c.o
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<mt_only>::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<mt_only>::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<mt_only>::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<mt_only>::unlock()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:144:7: error: 'impl' was not declared in this scope
  144 |       impl.unlock();
      |       ^~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<int64_t> 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<int64_t> identifyObject(const void *Ptr) {
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: In member function 'int64_t llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold, GrowthDelay>::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<int64_t> 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<int64_t> 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<int64_t> 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<int64_t> Out = identifyObject(Ptr);
      |                                  ^~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:668:17: error: 'optional' in namespace 'std' does not name a template type
  668 |     static std::optional<Loop::LoopBounds>
      |                 ^~~~~~~~
/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<Loop::LoopBounds>
      |            ^~~
/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<LoopBounds> 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<LoopBounds> getBounds(ScalarEvolution &SE) const;
      |   ^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:10:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/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<bool> 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<bool> 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<int> 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<int> 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<const MDOperand *> 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<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
      | ^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/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<T> 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<T> Result;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch<T, R>::StringSwitch(llvm::StringRef)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:54:13: error: class 'llvm::StringSwitch<T, R>' 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<T, R>::StringSwitch(llvm::StringSwitch<T, R>&&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:64:23: error: class 'llvm::StringSwitch<T, R>' 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<T, R>& llvm::StringSwitch<T, R>::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<T, R>& llvm::StringSwitch<T, R>::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<T, R>& llvm::StringSwitch<T, R>::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<T, R>& llvm::StringSwitch<T, R>::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<T, R>& llvm::StringSwitch<T, R>::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<T, R>& llvm::StringSwitch<T, R>::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<T, R>::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<T, R>::operator R()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:190:23: error: 'Result' was not declared in this scope
  190 |     return std::move(*Result);
      |                       ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c: In function 'unit_box_base_points':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ilp.c:56:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   56 |  for (i = 0; i < bset->n_ineq; ++i) {
      |                ^
[ 24%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_imath.c.o
[ 24%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_input.c.o
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h: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<Align> {
      |        ^~~~~~~~~~
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/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<are_base_of<Constant, Csts...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  455 |   static std::enable_if_t<are_base_of<Constant, Csts...>::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/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<are_base_of<Constant, Csts...>::value, Constant *>
      |                                                                ^
      |                                                                ;
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantDataArray::get(llvm::LLVMContext&, ArrayTy&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:701:52: error: missing template arguments before '(' token
  701 |     return ConstantDataArray::get(Context, ArrayRef(Elts));
      |                                                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:25: error: 'std::optional' has not been declared
 1247 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:33: error: expected ',' or '...' before '<' token
 1247 |                    std::optional<unsigned> 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<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:33: error: expected ',' or '...' before '<' token
 1255 |                    std::optional<unsigned> 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<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:33: error: expected ',' or '...' before '<' token
 1266 |                    std::optional<unsigned> 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<llvm::Constant*>, bool, int)'
 1247 |                    std::optional<unsigned> 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<unsigned> 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<llvm::Value*>, bool, int)'
 1266 |                    std::optional<unsigned> 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<llvm::Constant*>, bool, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1250:24: error: missing template arguments before '(' token
 1250 |         Ty, C, ArrayRef((Value *const *)IdxList.data(), IdxList.size()),
      |                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:19: error: 'InRangeIndex' was not declared in this scope
 1251 |         InBounds, InRangeIndex, OnlyIfReducedTy);
      |                   ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:33: error: 'OnlyIfReducedTy' was not declared in this scope
 1251 |         InBounds, InRangeIndex, OnlyIfReducedTy);
      |                                 ^~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1260:64: error: 'InRangeIndex' was not declared in this scope
 1260 |     return getGetElementPtr(Ty, C, cast<Value>(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);
      |                             ^~~~~~~~~~~~~~~
[ 27%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_int_sioimath.c.o
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_imath.c:1:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/hash.h:15,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_imath.c:1:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
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_input.c:20:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:18:
/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_imath.c:1:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_imath.c:1:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_imath.c:1:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/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_input.c:20:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:20:
/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_input.c:20:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<Metadata *> Ops1, ArrayRef<Metadata *> 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: 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/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'next_token':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:163:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  163 |   isl_stream_error(s, tok2, "expecting constant value");
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'isl_stream_read_val':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:197:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  197 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:214:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  214 |   isl_stream_error(s, tok, "expecting value");
      |                            ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:221:30: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  221 |    isl_stream_error(s, NULL, "unexpected EOF");
      |                              ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:225:30: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  225 |    isl_stream_error(s, tok2, "expecting value");
      |                              ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'int_div_by_cst':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:265:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  265 |   isl_stream_error(s, tok, "expecting constant value");
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'accept_cst_factor':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:285:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  285 |   isl_stream_error(s, tok, "expecting constant value");
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'affine_mod':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:317:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  317 |   isl_stream_error(s, tok, "expecting constant value");
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'accept_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:436:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  436 |    isl_stream_error(s, tok, "expected denominator");
      |                             ^~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'accept_affine_factor':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:489:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  489 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:505:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  505 |    isl_stream_error(s, tok, "unknown identifier");
      |                             ^~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:547:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  547 |   isl_stream_error(s, tok, "expecting factor");
      |                            ^~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'accept_affine':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:617:30: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  617 |    isl_stream_error(s, NULL, "unexpected EOF");
      |                              ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:664:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  664 |    isl_stream_error(s, tok, "unexpected isl_token");
      |                             ^~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'accept_affine_list':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:914:30: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  914 |    isl_stream_error(s, NULL, "unexpected EOF");
      |                              ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'read_defined_var_list':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:954:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  954 |    isl_stream_error(s, tok, "expecting unique identifier");
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'read_tuple_pw_aff_el':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:1528:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1528 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'add_constraint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:1862:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1862 |   isl_stream_error(s, tok, "missing operator");
      |                            ^~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:1877:6: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1877 |      "list arguments not of same size");
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
In file included from /pbulk/work/devel/polly/work/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_int_sioimath.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/hash.h:15,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.c:4:
/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_input.c: In function 'basic_map_read_polylib_constraint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2170:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2170 |   isl_stream_error(s, tok, "expecting coefficient");
      |                            ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2176:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2176 |   isl_stream_error(s, tok, "coefficient should appear on new line");
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2202:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2202 |    isl_stream_error(s, tok, "expecting coefficient");
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2209:5: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2209 |     "coefficient should not appear on new line");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'basic_map_read_polylib':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2241:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2241 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2247:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2247 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2254:6: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2254 |      "expecting constraint matrix dimensions");
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2269:9: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2269 |         "expecting number of output dimensions");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2279:9: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2279 |         "expecting number of input dimensions");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2290:9: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2290 |         "expecting number of existentials");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2301:9: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2301 |         "expecting number of parameters");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
[ 27%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_local.c.o
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:520:15: error: 'optional' in namespace 'std' does not name a template type
  520 |   inline std::optional<StringRef> 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<StringRef> getSource() const;
      |          ^~~
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_int_sioimath.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:599:8: error: 'optional' in namespace 'std' does not name a template type
  599 |   std::optional<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> Checksum;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:15: error: 'std::optional' has not been declared
  604 |          std::optional<ChecksumInfo<MDString *>> CS, MDString *Src,
      |               ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:23: error: expected ',' or '...' before '<' token
  604 |          std::optional<ChecksumInfo<MDString *>> CS, MDString *Src,
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:31: error: 'std::optional' has not been declared
  610 |                          std::optional<ChecksumInfo<StringRef>> CS,
      |                               ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:39: error: expected ',' or '...' before '<' token
  610 |                          std::optional<ChecksumInfo<StringRef>> CS,
      |                                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:31: error: 'std::optional' has not been declared
  623 |                          std::optional<ChecksumInfo<MDString *>> CS,
      |                               ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:39: error: expected ',' or '...' before '<' token
  623 |                          std::optional<ChecksumInfo<MDString *>> 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/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2308:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2308 |   if (n_col != 1 + out + in + local + nparam + 1) {
      |             ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:27: error: 'std::optional' has not been declared
  635 |                      std::optional<ChecksumInfo<StringRef>> 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/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2310:9: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2310 |         "dimensions don't match");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:635:35: error: expected ',' or '...' before '<' token
  635 |                      std::optional<ChecksumInfo<StringRef>> 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/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
  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<ChecksumInfo<StringRef>> 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/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
  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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<StringRef> 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<StringRef> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> getRawChecksum() const {
      |   ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:667:15: error: 'optional' in namespace 'std' does not name a template type
  667 |   static std::optional<ChecksumKind> 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<ChecksumKind> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> MDChecksum;
      |                                          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2319:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2319 |  for (i = 0; i < local; ++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_int_sioimath.c:4:
/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_int_sioimath.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2331:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2331 |   isl_stream_error(s, tok, "unexpected extra token on line");
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/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_input.c: In function 'map_read_polylib':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2353:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2353 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2363:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2363 |   isl_stream_error(s, tok2, "unexpected token");
      |                             ^~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'optional_power':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:45: error: 'MDChecksum' was not declared in this scope
  613 |     std::optional<ChecksumInfo<MDString *>> 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;
      |                 ^~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2397:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2397 |   isl_stream_error(s, tok, "expecting exponent");
      |                            ^~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'read_factor':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2418:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2418 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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);
      |                    ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2441:31: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2441 |     isl_stream_error(s, tok2, "expected denominator");
      |                               ^~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2477:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2477 |    isl_stream_error(s, tok, "unknown identifier");
      |                             ^~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2499:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2499 |   isl_stream_error(s, tok, "unexpected isl_token");
      |                            ^~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'read_optional_formula':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2566:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2566 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'obj_add':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2768:5: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2768 |     "attempt to combine incompatible objects");
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'obj_read':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2912:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2912 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2955:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2955 |    isl_stream_error(s, tok, "expecting '->'");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2964:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2964 |   isl_stream_error(s, tok, "expecting '{'");
      |                            ^~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:2992:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2992 |   isl_stream_error(s, tok, "unexpected isl_token");
      |                            ^~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:40: error: 'getSource' was not declared in this scope; did you mean 'Source'?
  629 |                         getChecksum(), getSource());
      |                                        ^~~~~~~~~
      |                                        Source
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'isl_vec_read_polylib':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:3309:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3309 |   isl_stream_error(s, tok, "expecting vector length");
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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,
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:3318:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3318 |  for (j = 0; j < size; ++j) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:3321:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3321 |    isl_stream_error(s, tok, "expecting constant value");
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c: In function 'read_aff_domain':
/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;
      |             ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:3470:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3470 |   isl_stream_error(s, tok, "expecting '['");
      |                            ^~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_id_private.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_input.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
[ 27%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_local_space.c.o
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:686:6: error: 'optional' in namespace 'std' does not name a template type
  686 | std::optional<StringRef> 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<StringRef> DIScope::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<Signedness> 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<Signedness> 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<unsigned> 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<unsigned> DWARFAddressSpace;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:22: error: 'std::optional' has not been declared
  974 |                 std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                      ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:30: error: expected ',' or '...' before '<' token
  974 |                 std::optional<unsigned> 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<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:24: error: expected ',' or '...' before '<' token
  984 |           std::optional<unsigned> 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<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:24: error: expected ',' or '...' before '<' token
  996 |           std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                        ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared
 1013 |        std::optional<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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/IR/DebugInfoMetadata.h:989:57: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
  989 |                    DWARFAddressSpace, Flags, ExtraData, Annotations.get(),
      |                                                         ^~~~~~~~~~~
      |                                                         getAnnotations
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:20: error: invalid use of member 'llvm::Metadata::Storage' in static member function
  990 |                    Storage, ShouldCreate);
      |                    ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here
   72 |   unsigned char Storage : 7;
      |                 ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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);
      |                             ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIDerivedType llvm::DIDerivedType::cloneImpl() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1004:9: error: 'getDWARFAddressSpace' was not declared in this scope
 1004 |         getDWARFAddressSpace(), getFlags(), getExtraData(), getAnnotations());
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                           ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/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;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                           ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                           ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                 ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1026 |                      ExtraData, Annotations))
      |                      ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1026 |                      ExtraData, Annotations))
      |                                 ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                 ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1026 |                      ExtraData, Annotations))
      |                      ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1026 |                      ExtraData, Annotations))
      |                                 ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/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/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_vec_private.h:4,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local.c:14:
/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
      | 
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/space.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local.c:13:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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: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/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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,
      |   ^~~~~~~~~~~~~~~~~
/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;
      |           ^~~~~
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_local_space.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:13:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_vec_private.h:4,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local.c:14:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
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_local_space.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_vec_private.h:4,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local.c:14:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/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_vec_private.h:4,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local.c:14:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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<DebugEmissionKind> 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<DebugEmissionKind> 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<DebugNameTableKind> 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<DebugNameTableKind> getNameTableKind(StringRef Str);
      |          ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local.c:85:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_local_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_local.c: In function 'isl_local_cmp':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local.c:204:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  204 |  for (i = 0; i < mat1->n_row; ++i) {
      |                ^
/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<StringRef> 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<StringRef> 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<const DILocation *>
      |               ^~~~~~~~
/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<const DILocation *>
      |          ^~~
/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<const DILocation *>
      |               ^~~~~~~~
/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<const DILocation *>
      |          ^~~
/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<unsigned> 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<unsigned> encodeDiscriminator(unsigned BD, unsigned DF,
      |          ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local.c: In function 'isl_local_reorder':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local.c:251:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  251 |  for (i = 0; i < div->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local.c:254:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  254 |   for (j = 0; j < r->len; ++j)
      |                 ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:246:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_local_space_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_local_space.c: In function 'isl_local_space_get_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:371:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  371 |  if (pos < 0 || pos >= ls->div->n_row)
      |                     ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c: In function 'isl_basic_map_sort_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:701:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  701 |  for (i = 1; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c: In function 'isl_merge_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:745:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  745 |  for (i = 0, j = 0, k = 0; i < div1->n_row && j < div2->n_row; ++k) {
      |                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:745:49: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  745 |  for (i = 0, j = 0, k = 0; i < div1->n_row && j < div2->n_row; ++k) {
      |                                                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:762:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  762 |  for (; i < div1->n_row; ++i, ++k) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:766:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  766 |  for (; j < div2->n_row; ++j, ++k) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c: In function 'isl_local_space_swap_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:787:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  787 |  if (a < 0 || a >= ls->div->n_row || b < 0 || b >= ls->div->n_row)
      |                 ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:787:49: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  787 |  if (a < 0 || a >= ls->div->n_row || b < 0 || b >= ls->div->n_row)
      |                                                 ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c: In function 'isl_local_space_substitute_equalities':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:1073:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1073 |  for (i = 0; i < eq->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:1078:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1078 |   for (k = 0; k < ls->div->n_row; ++k) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c: In function 'isl_local_space_substitute_seq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:1136:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1136 |  if (first + n > ls->div->n_row)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c: In function 'isl_local_space_preimage_multi_aff':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_local_space.c:1520:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1520 |  for (i = 0; i < ls->div->n_row; ++i) {
      |                ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<const DILocation *>
      |      ^~~~~~~~
/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<const DILocation *>
      | ^~~
/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<const DILocation *>
      |      ^~~~~~~~
/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<const DILocation *>
      | ^~~
[ 27%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_lp.c.o
/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<uint64_t> 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<uint64_t> 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<DIBasicType::Signedness> 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<DIBasicType::Signedness> 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<StringRef> 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<StringRef> 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<SignedOrUnsignedConstant> 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<SignedOrUnsignedConstant> 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<FragmentInfo> 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<FragmentInfo> 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<FragmentInfo> 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<FragmentInfo> 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<const DIExpression *>
      |               ^~~~~~~~
/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<const DIExpression *>
      |          ^~~
/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<DIExpression *>
      |               ^~~~~~~~
/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<DIExpression *>
      |          ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIExpression::DIExpression(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef<long long unsigned int>)':
/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/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_lp.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_lp.c:10:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_lp.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_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_lp.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_lp.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_lp.c: In function 'isl_map_solve_lp':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_lp.c:108:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  108 |   if (map->p[i]->n_div > max_div)
      |                        ^
/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<Metadata *> Ops2 = std::nullopt)
      |                                                ^~~~~~~
[ 29%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_map.c.o
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIArgList::DIArgList(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef<llvm::ValueAsMetadata*>)':
/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/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_map.c:25:
/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_map.c:25:
/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_map.c:25:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:25:
/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_map.c:25:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/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<FragmentInfo> 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<FragmentInfo> 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> FragmentInfo,
      |                      ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:30: error: expected ',' or '...' before '<' token
 3740 |                 std::optional<FragmentInfo> 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<FragmentInfo> 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<FragmentInfo> 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<llvm::DebugVariable>::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<llvm::DebugVariable>::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, <brace-enclosed initializer list>, 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 '<brace-enclosed initializer list>' 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<llvm::DebugVariable>::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<FragmentInfo> 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<FragmentInfo> Fragment = D.getFragment();
      |           ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_get_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:498:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  498 |  for (i = 0; i < bmap->n_div; ++i)
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3789:9: error: 'Fragment' was not declared in this scope
 3789 |     if (Fragment)
      |         ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:6: error: 'optional' in namespace 'std' does not name a template type
   49 | std::optional<RoundingMode> 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<RoundingMode> 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<StringRef> 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<StringRef> 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<fp::ExceptionBehavior> 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<fp::ExceptionBehavior> 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<StringRef> 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<StringRef> convertExceptionBehaviorToStr(fp::ExceptionBehavior);
      | ^~~
[ 29%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_map_list.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_has_rational':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1213:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 1213 |  if (bmap->n_eq == total) {
      |                 ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1215:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1215 |   for (i = 0; i < bmap->n_eq; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1227:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1227 |   if (i == bmap->n_eq)
      |         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'basic_map_init':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1324:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1324 |  for (i = 0; i < n_ineq + n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1327:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1327 |  for (i = 0; i < extra; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'dup_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1417:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1417 |  for (i = 0; i < src->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1424:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1424 |  for (i = 0; i < src->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1431:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1431 |  for (i = 0; i < src->n_div; ++i) {
      |                ^
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<Type *> 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<Type *> 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<Function *> 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<Function *> remangleIntrinsicFunction(Function *F);
      |   ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_drop_equality':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1712:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1712 |  for (r = pos; r < bmap->n_eq; ++r)
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'room_for_ineq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1746:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 1746 |  return bmap->n_ineq + n <= bmap->eq - bmap->ineq;
      |                          ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1897:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_basic_map_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_map.c: In function 'isl_basic_map_insert_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:1926:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 1926 |  if (div->size != 1 + 1 + total)
      |                ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_swap_vars':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2143:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2143 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2147:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2147 |  for (i = 0; i < bmap->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2151:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2151 |  for (i = 0; i < bmap->n_div; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_swap_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2312:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2312 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2315:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2315 |  for (i = 0; i < bmap->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2318:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2318 |  for (i = 0; i < bmap->n_div; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'move_divs_last':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2358:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2358 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2360:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2360 |  for (i = 0; i < bmap->n_div - first - n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2362:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2362 |  for (i = 0; i < n; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2374:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_map_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_map.c: In function 'isl_basic_map_drop_core':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2412:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2412 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2415:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2415 |  for (i = 0; i < bmap->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2418:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2418 |  for (i = 0; i < bmap->n_div; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'insert_bounds_on_div_from_ineq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2728:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2728 |  for (j = 0; (lb || ub) && j < total + bmap->n_div; ++j) {
      |                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2749:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2749 |   for (j = 0; j < 1 + total + bmap->n_div; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2761:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2761 |   for (j = 0; j < 1 + total + bmap->n_div; ++j) {
      |                 ^
[ 29%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/PolyhedralInfo.cpp.o
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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>'
/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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>' 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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>':
/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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>'
  119 |   static_assert(TypesAreDistinct<PTs...>::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/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<uint64_t> 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<uint64_t> 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<DIExpression::FragmentInfo> 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<DIExpression::FragmentInfo> getFragment() const {
      |   ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'insert_bounds_on_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2841:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2841 |  for (i = 0; (!check_lb || !check_ub) && i < bmap->n_ineq; ++i) {
      |                                            ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2854:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2854 |  for (i = 0; bmap && i < bmap->n_ineq; ++i) {
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_involves_dims':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2953:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2953 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2956:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2956 |  for (i = 0; i < bmap->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:2959:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2959 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_map_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:3463:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
 3463 |  if (map->n + n <= map->size)
      |                 ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_contains':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:3679:16: warning: comparison of integer expressions of different signedness: 'isl_size' {aka 'int'} and 'unsigned int' [-Wsign-compare]
 3679 |  if (1 + total != vec->size)
      |                ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:3684:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3684 |  for (i = 0; i < bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:3692:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3692 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
[ 29%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_map_simplify.c.o
/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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<RoundingMode> 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<RoundingMode> 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<fp::ExceptionBehavior> 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<fp::ExceptionBehavior> 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/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'insert_div_rows':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:4473:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4473 |  for (i = 0; i < bmap->extra; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'drop_irrelevant_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:4513:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4513 |  for (i = 0; i < first; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_set_project_onto_map':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:4726:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4726 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'add_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:4744:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4744 |  for (i = 0; i < n; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_neg':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:4987:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4987 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:4990:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4990 |  for (i = 0; i < bmap->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:4993:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4993 |  for (i = 0; i < bmap->n_div; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_equal':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:5274:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5274 |  for (i = 0; i < n_equal && bmap; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_less_at':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:5289:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5289 |  for (i = 0; i < pos && bmap; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_less_or_equal_at':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:5305:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5305 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_more_at':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:5321:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5321 |  for (i = 0; i < pos && bmap; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_more_or_equal_at':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:5337:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5337 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'map_lex_lte_first':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:5354:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5354 |  for (i = 0; i + 1 < n; ++i)
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'map_lex_gte_first':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:5410:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5410 |  for (i = 0; i + 1 < n; ++i)
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_overlying_set':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:5764:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5764 |   for (i = 0; i < bmap->extra; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:5766:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5766 |   for (i = 0; i < like->n_div; ++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_map.c:25:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_map_add_basic_map':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:6440:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
 6440 |  isl_assert(map->ctx, map->n < map->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_map.c:6440:2: note: in expansion of macro 'isl_assert'
 6440 |  isl_assert(map->ctx, map->n < map->size, goto error);
      |  ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_list.c:12:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_basic_map_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_basic_map_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_basic_map_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'basic_set_parameter_preimage':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_basic_map_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:7572:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 7572 |  isl_assert(bset->ctx, mat->n_row == 1 + nparam, 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_map.c:7572:2: note: in expansion of macro 'isl_assert'
 7572 |  isl_assert(bset->ctx, mat->n_row == 1 + nparam, goto error);
      |  ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'set_parameter_preimage':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:7601:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 7601 |  if (mat->n_row != 1 + nparam)
      |                 ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_list.c:22:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_map_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_map_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_map.c: In function 'basic_set_append_equalities':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:7641:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 7641 |  for (i = 0; i < eq->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'first_parameter_equality':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:7702:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 7702 |  for (i = 0, j = n_div - 1; i < bset->n_eq && j >= 0; --j) {
      |                               ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'parameter_compute_divs':
      |                ^
/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_map_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_map.c:7793:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 7793 |  if (i == bset->n_eq)
      |        ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:7815:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 7815 |  else if (i == bset->n_eq)
      |             ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'compute_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:7969:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 7969 |   for (i = n_known; i < bmap->n_div; ++i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_first_unknown_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_map_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:8036:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 8036 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_list.c:33:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_map_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_map_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_map_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_union_map_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_set_split_dims':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:8997:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 8997 |  for (i = 0; i < n; ++i) {
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:16:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_plain_is_non_empty':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:9445:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 9445 |  if (bmap->sample->size != 1 + total)
      |                         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_order_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:9493:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 9493 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_expand_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:9568:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 9568 |  for (i = n_div; i < div->n_row; ++i)
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:9580:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 9580 |  for (i = 0; i < div->n_row; ++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_map.c:25:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'find_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:9629:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 9629 |  isl_assert(dst->ctx, div <= n_div, return -1);
      |                           ^~
/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_map.c:9629:2: note: in expansion of macro 'isl_assert'
 9629 |  isl_assert(dst->ctx, div <= n_div, return -1);
      |  ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_align_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:9686:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 9686 |  for (i = 0; i < src->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_plain_has_fixed_var':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:10037:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
10037 |  for (i = 0, d = total-1; i < bmap->n_eq && d+1 > pos; ++i) {
      |                             ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:10037:49: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
10037 |  for (i = 0, d = total-1; i < bmap->n_eq && d+1 > pos; ++i) {
      |                                                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:10038:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
10038 |   for (; d+1 > pos; --d)
      |              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:10041:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
10041 |   if (d != pos)
      |         ^~
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_map_simplify.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'reduce_div_coefficients':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:222:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  222 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'normalize_div_expressions':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:293:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  293 |  for (i = 0; i < bmap->n_div; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'eliminate_var_using_equality':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:315:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  315 |  for (k = 0; k < bmap->n_eq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:326:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  326 |  for (k = 0; k < bmap->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:337:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  337 |  for (k = 0; k < bmap->n_div; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'ok_to_eliminate_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:400:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  400 |  if (last_div < 0 || last_div <= div)
      |                               ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'eliminate_divs_eq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:431:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  431 |   for (i = 0; i < bmap->n_eq; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'eliminate_divs_ineq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:472:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  472 |   for (i = 0; i < bmap->n_eq; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:475:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  475 |   if (i < bmap->n_eq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:477:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  477 |   for (i = 0; i < bmap->n_ineq; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:480:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  480 |   if (i < bmap->n_ineq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'bmap_eq_involves_unknown_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:507:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  507 |  for (i = 0; i < n; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_gauss5':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:618:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  618 |  for (done = 0; done < bmap->n_eq; ++done) {
      |                      ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:620:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  620 |    for (k = done; k < bmap->n_eq; ++k)
      |                     ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:623:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  623 |    if (k < bmap->n_eq)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:639:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  639 |   if (last_var >= total_var)
      |                ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:645:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  645 |  if (done == bmap->n_eq)
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:647:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  647 |  for (k = done; k < bmap->n_eq; ++k) {
      |                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'setup_constraint_index':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:779:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  779 |  for (k = 0; k < bset->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'n_pure_div_eq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:905:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  905 |  for (i = 0, j = bmap->n_div-1; i < bmap->n_eq; ++i) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'normalize_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:998:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  998 |  if (div_eq < bmap->n_eq) {
      |             ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1037:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1037 |  for (i = 0; i < T->n_row - 1; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1050:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1050 |   for (i = 0; i < bmap->n_eq; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1053:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1053 |   if (i < bmap->n_eq) {
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1062:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1062 |  for (i = 1; i < T->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1073:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1073 |  for (i = 1; i < T->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1087:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1087 |    if (pos[j] < T->n_row && C2)
      |               ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'ok_to_set_div_from_bound':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1144:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1144 |  for (j = 0; j < bmap->n_div; ++j) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1154:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1154 |  for (j = 0; j < bmap->n_div; ++j) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'check_for_div_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1214:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1214 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_remove_duplicate_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1255:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1255 |  for (k = 1; k < bmap->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1270:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1270 |  for (k = 0; bmap && k < bmap->n_ineq-1; ++k) {
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'eliminate_unit_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1374:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1374 |  for (j = 0; j < bmap->n_ineq; ++j) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'eliminate_selected_unit_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1432:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1432 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'div_is_redundant':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1608:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1608 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1612:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1612 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1622:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1622 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_plain_cmp':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'remove_dependent_vars':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1703:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1703 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_eliminate_vars':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1733:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1733 |  for (d = pos + n - 1; d >= 0 && d >= pos; --d)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:10353:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
10353 |  for (i = 0; i < bmap1->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1739:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1739 |       d >= 0 && d >= total - bmap->n_div && d >= pos; --d)
      |                   ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1739:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1739 |       d >= 0 && d >= total - bmap->n_div && d >= pos; --d)
      |                                               ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1741:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1741 |  for (d = pos + n - 1; d >= 0 && d >= pos; --d) {
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1745:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1745 |   for (i = 0; i < bmap->n_eq; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:10358:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
10358 |  for (i = 0; i < bmap1->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1755:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1755 |   if (i < bmap->n_eq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1759:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1759 |   for (i = 0; i < bmap->n_ineq; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'compute_elimination_index':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1963:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1963 |  for (d = 0; d < len; ++d)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:10363:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
10363 |  for (i = 0; i < bmap1->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:1965:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1965 |  for (i = 0; i < bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_set_reduce_using_equalities':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2032:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2032 |  for (i = 0; i < bset->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2035:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2035 |  for (i = 0; i < bset->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'remove_shifted_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2112:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2112 |  for (k = 0; k < bset->n_ineq; ++k) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_drop_unrelated_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2310:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2310 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2312:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2312 |  for (i = 0; i < bmap->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'drop_irrelevant_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2355:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2355 |   for (j = 0; j < bset->n_eq; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2358:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2358 |   if (j < bset->n_eq) {
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2362:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2362 |   for (j = 0; j < bset->n_ineq; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2365:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2365 |   if (j < bset->n_ineq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'uset_gist_full':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2570:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2570 |  for (i = 0; i < context_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2576:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2576 |  for (i = 0; i < bset->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'n_div_eq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2890:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2890 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'basic_map_from_equalities':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2912:16: warning: comparison of integer expressions of different signedness: 'isl_size' {aka 'int'} and 'unsigned int' [-Wsign-compare]
 2912 |  if (1 + total != eq->n_col)
      |                ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2918:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2918 |  for (i = 0; i < eq->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'combined_variable_compression':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2964:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 2964 |  if (bmap1->n_eq == n1) {
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:2969:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
 2969 |  if (bmap2->n_eq == n2) {
      |                  ^~
[ 32%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_map_subtract.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_plain_is_disjoint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:3837:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3837 |  for (i = 0; i < bmap2->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:3845:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3845 |  for (i = 0; i < bmap2->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:3854:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3854 |  for (i = 0; i < bmap1->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_get_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11172:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11172 |  for (i = 0; i < bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11178:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11178 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'div_find_coalesce':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4172:20: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
 4172 |   return opp < 0 ? -1 : n_div;
      |                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4174:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4174 |  for (i = 0; i < n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11184:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11184 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4192:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4192 |  for (i = 0; i < n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4193:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4193 |   if (i == div)
      |         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4197:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4197 |   for (j = 0; j < n_div; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4203:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4203 |   if (j < n_div)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4205:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4205 |   for (j = 0; j < bmap->n_ineq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4207:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4207 |    if (j == l || j == u)
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4207:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4207 |    if (j == l || j == u)
      |                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4227:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4227 |   if (j < bmap->n_ineq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'drop_more_redundant_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4428:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4428 |   for (l = 0; l < bmap->n_ineq; ++l) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4433:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4433 |    for (u = 0; u < bmap->n_ineq; ++u) {
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4447:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4447 |    if (u < bmap->n_ineq)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4454:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4454 |   if (l == bmap->n_ineq) {
      |         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'coalesce_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4547:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4547 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4548:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4548 |   if (i == l || i == u)
      |         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4548:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4548 |   if (i == l || i == u)
      |                   ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'coalesce_or_drop_more_redundant_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4601:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4601 |   for (l = 0; l < bmap->n_ineq; ++l) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4604:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4604 |    for (u = 0; u < bmap->n_ineq; ++u) {
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'lower_bound_is_cst':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4854:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4854 |  for (i = 0; i < bmap->n_ineq && (lower < 0 || upper < 0); ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4893:17: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
 4893 |  return equal ? lower : bmap->n_ineq;
      |                 ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_drop_redundant_divs_ineq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5029:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5029 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5042:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5042 |   for (j = 0; j < bmap->n_eq; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5045:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5045 |   if (j < bmap->n_eq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5049:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5049 |   for (j = 0; j < bmap->n_ineq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_preimage_vars':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5187:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5187 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5190:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5190 |  for (i = 0; i < bmap->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'basic_map_dim_is_bounded':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5193:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5193 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11421:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11421 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_drop_redundant_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5279:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5279 |  for (i = 0; i < bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5290:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5290 |  if (i >= bmap->n_eq)
      |        ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'has_multiple_var_equality':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5322:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5322 |  for (i = 0; i < bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_reduce_coefficients':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5458:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5458 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_shift_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5522:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5522 |  for (i = 0; i < bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11428:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11428 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5528:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5528 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5534:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5534 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11432:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11432 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_set_vars_get_sign':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11596:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11596 |  for (i = 0; i < n; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'find_modulo_constraint_pair':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11749:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11749 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_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_map_subtract.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:10:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11758:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11758 |   for (j = i + 1; j < bmap->n_ineq; ++j) {
      |                     ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
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_map_subtract.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11767:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11767 |   if (j >= bmap->n_ineq)
      |         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_output_defining_equality':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11827:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11827 |  for (j = 0; j < bmap->n_eq; ++j) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11847:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11847 |   if (l >= bmap->n_ineq)
      |         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c: In function 'expand_constraint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:40:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   40 |  for (i = 0; i < n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c: In function 'tab_add_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:76:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   76 |  for (i = 0; i < bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:89:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   89 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c: In function 'tab_add_constraint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:137:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  137 |  if (c < 2 * bmap->n_eq) {
      |        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c: In function 'tab_add_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:196:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  196 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:203:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  203 |   for (j = 0; j < tab->bmap->n_div; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:208:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  208 |   if (j == tab->bmap->n_div) {
      |         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c: In function 'tab_freeze_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:230:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  230 |  for (i = 0; i < tab->n_con; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c: In function 'isl_basic_map_plain_is_singleton':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:727:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
  727 |  return bmap->n_eq == total;
      |                    ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c: In function 'singleton_extract_point':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:757:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
  757 |  isl_assert(bmap->ctx, bmap->n_eq == dim, return NULL);
      |                                   ^~
/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_map_subtract.c:757:2: note: in expansion of macro 'isl_assert'
  757 |  isl_assert(bmap->ctx, bmap->n_eq == dim, return NULL);
      |  ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_subtract.c:765:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  765 |  for (j = 0; j < bmap->n_eq; ++j) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_plain_is_single_valued':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:11880:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
11880 |   if (eq >= bmap->n_eq)
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_set_is_box':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:12070:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
12070 |   for (i = 0; i < bset->n_eq; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:12077:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
12077 |   if (i < bset->n_eq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:12079:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
12079 |   for (i = 0; i < bset->n_ineq; ++i) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_equalities_matrix':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:12882:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
12882 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_inequalities_matrix':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:12915:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
12915 |  for (i = 0; i < bmap->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_from_constraint_matrices':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:12966:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
12966 |  for (i = 0; i < extra; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:12972:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
12972 |  for (i = 0; i < eq->n_row; ++i) {
      |                ^
[ 32%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_map_to_basic_set.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:12988:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
12988 |  for (i = 0; i < ineq->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_map_preimage_multi_aff':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:13828:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
13828 |  for (i = 0; i < bmap->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:13838:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
13838 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:13848:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
13848 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_basic_set_tighten_outward':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:14381:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
14381 |  for (j = 0; j < bset->n_ineq; ++j) {
      |                ^
[ 32%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_mat.c.o
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:16:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/.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 <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        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 <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_integral
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:70: error: template argument 1 is invalid
   64 | template <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:73: error: expected unqualified-id before '>' token
   64 | template <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                                         ^
/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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_unsigned
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:70: error: template argument 1 is invalid
  109 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:73: error: expected unqualified-id before '>' token
  109 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                         ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_unsigned
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:70: error: template argument 1 is invalid
  348 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:73: error: expected unqualified-id before '>' token
  348 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                         ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:20,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassAnalysisSupport.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:347,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint16_t llvm::ByteSwap_16(uint16_t)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:51:60: error: 'byteswap' is not a member of 'llvm'
   51 | inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint32_t llvm::ByteSwap_32(uint32_t)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:54:60: error: 'byteswap' is not a member of 'llvm'
   54 | inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint64_t llvm::ByteSwap_64(uint64_t)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:57:60: error: 'byteswap' is not a member of 'llvm'
   57 | inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned char llvm::sys::getSwappedBytes(unsigned char)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:69:80: error: 'byteswap' is not a member of 'llvm'
   69 | inline unsigned char      getSwappedBytes(unsigned char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'signed char llvm::sys::getSwappedBytes(signed char)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:70:80: error: 'byteswap' is not a member of 'llvm'
   70 | inline   signed char      getSwappedBytes( signed  char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'char llvm::sys::getSwappedBytes(char)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:71:80: error: 'byteswap' is not a member of 'llvm'
   71 | inline          char      getSwappedBytes(         char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short unsigned int llvm::sys::getSwappedBytes(short unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:73:80: error: 'byteswap' is not a member of 'llvm'
   73 | inline unsigned short     getSwappedBytes(unsigned short     C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'short int llvm::sys::getSwappedBytes(short int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:74:80: error: 'byteswap' is not a member of 'llvm'
   74 | inline   signed short     getSwappedBytes(  signed short     C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned int llvm::sys::getSwappedBytes(unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:76:80: error: 'byteswap' is not a member of 'llvm'
   76 | inline unsigned int       getSwappedBytes(unsigned int       C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'int llvm::sys::getSwappedBytes(int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:77:80: error: 'byteswap' is not a member of 'llvm'
   77 | inline   signed int       getSwappedBytes(  signed int       C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long unsigned int llvm::sys::getSwappedBytes(long unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:79:80: error: 'byteswap' is not a member of 'llvm'
   79 | inline unsigned long      getSwappedBytes(unsigned long      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long int llvm::sys::getSwappedBytes(long int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:80:80: error: 'byteswap' is not a member of 'llvm'
   80 | inline   signed long      getSwappedBytes(  signed long      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long unsigned int llvm::sys::getSwappedBytes(long long unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:82:80: error: 'byteswap' is not a member of 'llvm'
   82 | inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'long long int llvm::sys::getSwappedBytes(long long int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:83:80: error: 'byteswap' is not a member of 'llvm'
   83 | inline   signed long long getSwappedBytes(  signed long long C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'float llvm::sys::getSwappedBytes(float)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:91:17: error: 'byteswap' is not a member of 'llvm'
   91 |   out.i = llvm::byteswap(in.i);
      |                 ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'double llvm::sys::getSwappedBytes(double)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:101:17: error: 'byteswap' is not a member of 'llvm'
  101 |   out.i = llvm::byteswap(in.i);
      |                 ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'std::enable_if_t<std::is_enum<_Tp>::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<std::underlying_type_t<T>>(C)));
      |             ^~~~~~~~
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_mat.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_get_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:43:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   43 |  for (i = 0; i < mat->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_alloc':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:72:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   72 |   for (i = 0; i < n_row; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_extend':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:115:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  115 |   for (i = 0; i < mat->n_row; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:134:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  134 |  for (i = 0; i < mat->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:136:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  136 |  for (i = mat->n_row; i < n_row; ++i)
      |                         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_sub_alloc6':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:160:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  160 |  for (i = 0; i < n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_sub_copy':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:189:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  189 |  for (i = 0; i < n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_sub_neg':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:198:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  198 |  for (i = 0; i < n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_dup':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:221:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  221 |  for (i = 0; i < mat->n_row; ++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_mat.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_rows':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:97:24: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
   97 | #define isl_size_error ((int) -1)
      |                        ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:259:28: note: in expansion of macro 'isl_size_error'
  259 |  return mat ? mat->n_row : isl_size_error;
      |                            ^~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_cols':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:97:24: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
   97 | #define isl_size_error ((int) -1)
      |                        ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:264:28: note: in expansion of macro 'isl_size_error'
  264 |  return mat ? mat->n_col : isl_size_error;
      |                            ^~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'check_col':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:273:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  273 |  if (col < 0 || col >= mat->n_col)
      |                     ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'check_row':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:285:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  285 |  if (row < 0 || row >= mat->n_row)
      |                     ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_diag':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:394:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  394 |  for (i = 0; i < n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_zero':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:413:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  413 |  for (i = 0; i < n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_is_scaled_identity':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:437:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  437 |  for (i = 0; i < mat->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_vec_product':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:465:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  465 |  for (i = 0; i < prod->size; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_vec_inverse_product':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:488:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  488 |  for (i = 0; i < vec->size; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:496:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  496 |   for (i = 0; i < vec->size; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_vec_mat_product':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:521:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  521 |  for (i = 0; i < prod->size; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:523:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  523 |   for (j = 0; j < vec->size; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_aff_direct_sum':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:563:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  563 |  for (i = 1; i < sum->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'exchange':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:589:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  589 |  for (r = row; r < M->n_row; ++r)
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:592:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  592 |   for (r = 0; r < (*U)->n_row; ++r)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'subtract':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:603:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  603 |  for (r = row; r < M->n_row; ++r)
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:606:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  606 |   for (r = 0; r < (*U)->n_row; ++r)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:610:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  610 |   for (r = 0; r < (*Q)->n_col; ++r)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'oppose':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:619:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  619 |  for (r = row; r < M->n_row; ++r)
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:622:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  622 |   for (r = 0; r < (*U)->n_row; ++r)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_left_hermite':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:673:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  673 |  for (row = 0; row < M->n_row; ++row) {
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'hermite_first_zero_col':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:841:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  841 |  for (col = first_col, row = 0; col < H->n_col; ++col) {
      |                                     ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_lin_to_aff':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:905:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  905 |  for (i = 0; i < mat->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_diagonal':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:934:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  934 |  for (i = 0; i < mat1->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:938:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  938 |  for (i = 0; i < mat2->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'row_first_non_zero':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:956:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  956 |  for (i = 0; i < n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'row_abs_min_non_zero':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:967:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  967 |  for (i = min + 1; i < n_row; ++i) {
      |                      ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_inverse_product':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1032:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1032 |  for (row = 0; row < left->n_row; ++row) {
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1078:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1078 |  for (row = 1; row < left->n_row; ++row)
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1084:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1084 |  for (row = 0; row < left->n_row; ++row) {
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_col_scale':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1105:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1105 |  for (i = 0; i < mat->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_col_combine':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1116:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1116 |  for (i = 0; i < mat->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_right_inverse':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1141:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1141 |  for (row = 0; row < mat->n_row; ++row) {
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1180:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1180 |  for (row = 1; row < mat->n_row; ++row)
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1186:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1186 |  for (row = 0; row < mat->n_row; ++row) {
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_transpose':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1215:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1215 |   for (i = 0; i < mat->n_row; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1216:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1216 |    for (j = i + 1; j < mat->n_col; ++j)
      |                      ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1223:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1223 |  for (i = 0; i < mat->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1224:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1224 |   for (j = 0; j < mat->n_col; ++j)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_swap_cols':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1243:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1243 |  for (r = 0; r < mat->n_row; ++r)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_product':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1284:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1284 |   for (i = 0; i < prod->n_row; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1290:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1290 |  for (i = 0; i < prod->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1291:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1291 |   for (j = 0; j < prod->n_col; ++j)
      |                 ^
[ 32%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_morph.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1294:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1294 |   for (k = 1; k < left->n_col; ++k) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1297:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1297 |    for (j = 0; j < prod->n_col; ++j)
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'preimage':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1334:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1334 |   for (i = 0; i < n; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1340:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1340 |  for (i = 0; i < n; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_sub_transform':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1465:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1465 |  for (i = 0; i < n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_print_internal':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1483:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1483 |  for (i = 0; i < mat->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1488:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1488 |   for (j = 0; j < mat->n_col; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1493:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1493 |   if (i == mat->n_row-1)
      |         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_drop_cols':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1518:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1518 |   for (r = 0; r < mat->n_row; ++r)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_insert_zero_cols':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1578:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1578 |  for (i = 0; i < mat->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_insert_zero_rows':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1634:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1634 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_col_submul':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1653:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1653 |  for (i = 0; i < mat->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_col_add':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1664:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1664 |  for (i = 0; i < mat->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_col_mul':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1674:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1674 |  for (i = 0; i < mat->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_col_addmul':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1689:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1689 |  for (i = 0; i < mat->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_col_neg':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1710:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1710 |  for (i = 0; i < mat->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_unimodular_complete':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1753:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1753 |  for (r = row; r < M->n_row; ++r)
      |                  ^
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 <typename T> hash_code hash_value(const std::optional<T> &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 <typename T> hash_code hash_value(const std::optional<T> &arg);
      |                                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:63: error: expected ',' or '...' before '<' token
  127 | template <typename T> hash_code hash_value(const std::optional<T> &arg);
      |                                                               ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_is_equal':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1812:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1812 |  for (i = 0; i < mat1->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_gcd':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1930:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1930 |  for (i = 0; i < mat->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_scale':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1950:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1950 |  for (i = 0; i < mat->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_scale_down':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:1967:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1967 |  for (i = 0; i < mat->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c: In function 'isl_mat_initial_non_zero_cols':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_mat.c:2023:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2023 |  for (i = 0; i < mat->n_col; ++i)
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(const std::tuple<_Tps ...>&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: error: 'apply' is not a member of 'std'
  658 |   return std::apply([](const auto &...xs) { return hash_combine(xs...); }, arg);
      |               ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:658:15: note: 'std::apply' is only available from C++17 onwards
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:55: error: 'optional' in namespace 'std' does not name a template type
  668 | template <typename T> hash_code hash_value(const std::optional<T> &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 <typename T> hash_code hash_value(const std::optional<T> &arg) {
      |                                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:63: error: expected ',' or '...' before '<' token
  668 | template <typename T> hash_code hash_value(const std::optional<T> &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<T> &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<T> &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<T> &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<decltype(F(*O))> {
      |             ^~~~~~~~
/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<decltype(F(*O))> {
      |        ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:21: error: expected initializer before '<' token
   47 |     -> std::optional<decltype(F(*O))> {
      |                     ^
/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<T> &&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<T> &&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<T> &&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<T> &&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<T> &&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<T> &&O, const Function &F)
      |                                                                ^
      |                                                                ;
   57 |     -> std::optional<decltype(F(*std::move(O)))> {
      |     ~~                                                          
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<llvm::Metadata *> 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<llvm::Metadata *> 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<int> 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<int> 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/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<MemoryLocation> 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<MemoryLocation> 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<MemoryLocation> 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<MemoryLocation> 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<const llvm::Value*, bool, 8>':
/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/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_morph.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_morph.c:13:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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<std::is_same<T, Ts>...>;
      |                        ^~~~~~~~~~~
/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<std::is_same<T, Ts>...>;
      |                   ^~~
/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<std::is_base_of<T, Ts>...>;
      |                          ^~~~~~~~~~~
/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<std::is_base_of<T, Ts>...>;
      |                     ^~~
/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<bool, !is_one_of<T, Us...>::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<bool, !is_one_of<T, Us...>::value &&
      |                                              ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:55: error: template argument 2 is invalid
  155 |     : std::integral_constant<bool, !is_one_of<T, Us...>::value &&
      |                                                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:56: error: expected '{' before '::' token
  155 |     : std::integral_constant<bool, !is_one_of<T, Us...>::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<std::remove_pointer_t<remove_cvref_t<T>>>>
      |                       ^~~~~~~~~~~~~
      |                       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<std::remove_pointer_t<remove_cvref_t<T>>>>
      |                                                                             ^~
/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<value_type> 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<value_type> 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<value_type>,
      |                       ^~~~~~~~~~~~
      |                       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<value_type>,
      |                                              ^
/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<value_type>,
      |                                   ^
/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<value_type>,
      |                                               ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<std::pair<llvm::AACacheLoc, llvm::AACacheLoc>, 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/ADT/STLExtras.h:257:35: error: 'is_invocable_v' is not a member of 'std'
  257 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, 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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  257 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                                          ^
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_morph.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                                                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:263:35: error: 'is_invocable_v' is not a member of 'std'
  263 |             std::enable_if_t<std::is_invocable_v<T const, Pn...>, int> = 0>
      |                                   ^~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/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<std::is_invocable_v<T const, Pn...>, 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<std::is_invocable_v<T const, Pn...>, int> = 0>
      |                                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::callable_detail::Callable<T, <anonymous> >::Callable(const T&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:26: error: class 'llvm::callable_detail::Callable<T, <anonymous> >' 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/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_morph.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'llvm::callable_detail::Callable<T, <anonymous> >& llvm::callable_detail::Callable<T, <anonymous> >::operator=(const llvm::callable_detail::Callable<T, <anonymous> >&)':
/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<T, <anonymous> >& llvm::callable_detail::Callable<T, <anonymous> >::operator=(llvm::callable_detail::Callable<T, <anonymous> >&&)':
/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<T, <anonymous> >::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<T, <anonymous> >::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<T, <anonymous> >::operator llvm::callable_detail::Callable<T, <anonymous> >::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<T, <anonymous> >::operator llvm::callable_detail::Callable<T, <anonymous> >::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<remove_cvref_t<T>>;
      |                                      ^~~~~~~~~~~~
      |                                      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<remove_cvref_t<T>>;
      |                                                                   ^~
/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<remove_cvref_t<T>>;
      |                                                                     ^
/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<remove_cvref_t<FnPtrOrRef>, 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<remove_cvref_t<FnPtrOrRef>, 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<remove_cvref_t<FnPtrOrRef>, 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<std::is_invocable_v<T, Pn...>, 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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  313 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, 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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                                                  ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In static member function 'static constexpr auto llvm::callable_detail::Callable<T, true>::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<T, true>::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<T, true>::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<T, true>::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<T>,
      |                          ^~~~~~~~~~~~~~
      |                          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<T>,
      |                                          ^
/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<T>,
      |                                           ^
/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<FuncTy> 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<ContainerTy>::value)
      |      ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_common<ZipType, Iters>::test_all_equals(const llvm::detail::zip_common<ZipType, Iters>&, std::index_sequence<Ns ...>) 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<Iters>::test(const llvm::detail::zip_shortest<Iters>&, std::index_sequence<Ns ...>) 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<std::remove_const_t<
      |                     ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:16: note: 'std::optional' is only available from C++17 onwards
  935 |   using type = std::optional<std::remove_const_t<
      |                ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_longest_iterator<Iters>::test(const llvm::detail::zip_longest_iterator<Iters>&, std::index_sequence<Ns ...>) const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:966:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17'
  966 |             ...);
      |             ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:24: error: 'disjunction' in namespace 'std' does not name a template type
 1511 | using is_one_of = std::disjunction<std::is_same<T, Ts>...>;
      |                        ^~~~~~~~~~~
/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<std::is_same<T, Ts>...>;
      |                   ^~~
/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<std::is_base_of<T, Ts>...>;
      |                          ^~~~~~~~~~~
/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<std::is_base_of<T, Ts>...>;
      |                     ^~~
/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_morph.c:13:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/.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<IteratorTy>::value) {
      |      ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1684:25: error: 'sort_trivially_copyable' is not a member of 'llvm::detail'
 1684 |   if constexpr (detail::sort_trivially_copyable<IteratorTy>::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<IteratorTy>::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<IteratorTy>::value) {
      |                                                              ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'decltype(auto) llvm::detail::get(const llvm::detail::result_pair<R>&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2173:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
 2173 |   if constexpr (i == 0) {
      |      ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::detail::all_of_zip_predicate_first(Predicate&&, Args&& ...)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: error: 'apply' is not a member of 'std'
 2276 |     if (!std::apply([&](auto &&...args) { return P(args...); }, *it))
      |               ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: note: 'std::apply' is only available from C++17 onwards
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_morph.c: In function 'copy_equalities':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_morph.c:434:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  434 |  for (i = 0; i < n; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_morph.c: In function 'isl_basic_set_variable_compression':
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<T, <anonymous> >::uninitialized_move(It1, It1, It2)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SmallVector.h:352:10: error: 'uninitialized_move' is not a member of 'std'; did you mean 'uninitialized_copy'?
  352 |     std::uninitialized_move(I, E, Dest);
      |          ^~~~~~~~~~~~~~~~~~
      |          uninitialized_copy
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_morph.c:502:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  502 |  for (f_eq = 0; f_eq < bset->n_eq; ++f_eq)
      |                      ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_morph.c:505:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  505 |  for (n_eq = 0; f_eq + n_eq < bset->n_eq; ++n_eq)
      |                             ^
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<MemoryLocation> &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<MemoryLocation> &OptLoc) {
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:47: error: expected ',' or '...' before '<' token
  498 |                            const std::optional<MemoryLocation> &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<MemoryLocation> &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<MemoryLocation> &OptLoc,
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:47: error: expected ',' or '...' before '<' token
  592 |                            const std::optional<MemoryLocation> &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<MemoryLocation> &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<MemoryLocation> &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<MemoryLocation> &OptLoc) {
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:47: error: expected ',' or '...' before '<' token
  641 |                            const std::optional<MemoryLocation> &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/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 <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                    ^~~~~~~
/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 <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                              ^~~
/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 <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                                 ^~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:27,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:104:54: error: expected ')' before 'Str'
  104 |     /*implicit*/ constexpr StringRef(std::string_view Str)
      |                                     ~                ^~~~
      |                                                      )
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringRef.h:248:14: error: expected type-specifier
  248 |     operator std::string_view() const {
      |              ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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<T>::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<T>::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/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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
[ 35%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_obj.c.o
/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<std::is_unsigned_v<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<std::is_unsigned_v<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<std::is_unsigned_v<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<std::is_unsigned_v<T>, T> SaturatingAdd(T X, T Y, T Z,
      |                                       ^
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<NodeRef, std::optional<ChildItTy>>;
      |                                                ^~~~~~~~
/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<NodeRef, std::optional<ChildItTy>>;
      |                                                         ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:15: error: 'StackElement' was not declared in this scope
  103 |   std::vector<StackElement> VisitStack;
      |               ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 1 is invalid
  103 |   std::vector<StackElement> 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<GraphT, SetType, ExtStorage, GT>::df_iterator(llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::NodeRef)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:16: error: request for member 'push_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::df_iterator(llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  115 |       VisitStack.push_back(StackElement(Node, 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/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<std::nullopt_t> : public StringMapEntryBase {
      |                                  ^~~~~~~~~
      |                                  nullptr_t
/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<GraphT, SetType, ExtStorage, GT>::toNext()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:125:33: error: request for member 'back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<ChildItTy> &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<ChildItTy> &Opt = VisitStack.back().second;
      |                              ^
/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<std::nullopt_t> : 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<std::nullopt_t> : public StringMapEntryBase {
      |                                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h: In function 'decltype(auto) llvm::get(const llvm::StringMapEntry<ValueTy>&)':
/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/ADT/DepthFirstIterator.h:126:33: error: 'Opt' was not declared in this scope
  126 |       std::optional<ChildItTy> &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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  126 |       std::optional<ChildItTy> &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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>& llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::skipChildren()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:186:16: error: request for member 'pop_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::NodeRef llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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/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<To, std::optional<From>> {
      |                                ^~~~~~~~
/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<To, std::optional<From>> {
      |                                         ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:45: error: expected unqualified-id before '>' token
  266 | struct CastIsPossible<To, std::optional<From>> {
      |                                             ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std'
  369 |           std::optional<To>, 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<To>, From,
      |                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:310:8: note: provided for 'template<class To, class From, class Derived> 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<Derived, OptionalValueCast<To, From>>> {
      |                                                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std'
  540 | struct CastInfo<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                          ^~~~~~~~
/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<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                                   ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:39: error: expected unqualified-id before '>' token
  540 | struct CastInfo<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                                       ^~
/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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |          ^~~~~~~~~~~~
      |          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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:26: error: expected primary-expression before '||' token
  595 |     std::is_pointer_v<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                          ^~
/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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                                  ^~~~~~~~~~~~~~~~~~
      |                                  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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std'
  610 | template <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                  ^~~~~~~~
/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 <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:60: error: expected unqualified-id before '>' token
  610 | template <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                            ^~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:26: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses]
   70 |     /*implicit*/ ArrayRef(std::nullopt_t) {}
      |                          ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:27: error: invalid use of '::'
   70 |     /*implicit*/ ArrayRef(std::nullopt_t) {}
      |                           ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:70:44: error: expected ';' at end of member declaration
   70 |     /*implicit*/ ArrayRef(std::nullopt_t) {}
      |                                            ^
      |                                             ;
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:33: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses]
  323 |     /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef<T>() {}
      |                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:34: error: invalid use of '::'
  323 |     /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef<T>() {}
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:472:65: error: expected constructor, destructor, or type conversion before ';' token
  472 |   template <typename T> ArrayRef(const T &OneElt) -> ArrayRef<T>;
      |                                                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:475:78: error: expected constructor, destructor, or type conversion before ';' token
  475 |   template <typename T> ArrayRef(const T *data, size_t length) -> ArrayRef<T>;
      |                                                                              ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:478:77: error: expected constructor, destructor, or type conversion before ';' token
  478 |   template <typename T> ArrayRef(const T *data, const T *end) -> ArrayRef<T>;
      |                                                                             ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:481:79: error: expected constructor, destructor, or type conversion before ';' token
  481 |   template <typename T> ArrayRef(const SmallVectorImpl<T> &Vec) -> ArrayRef<T>;
      |                                                                               ^
/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<T, N> &Vec) -> ArrayRef<T>;
      |                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:488:75: error: expected constructor, destructor, or type conversion before ';' token
  488 |   template <typename T> ArrayRef(const std::vector<T> &Vec) -> ArrayRef<T>;
      |                                                                           ^
/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<T, N> &Vec) -> ArrayRef<T>;
      |                                                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:495:72: error: expected constructor, destructor, or type conversion before ';' token
  495 |   template <typename T> ArrayRef(const ArrayRef<T> &Vec) -> ArrayRef<T>;
      |                                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:498:66: error: expected constructor, destructor, or type conversion before ';' token
  498 |   template <typename T> ArrayRef(ArrayRef<T> &Vec) -> ArrayRef<T>;
      |                                                                  ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:501:77: error: expected constructor, destructor, or type conversion before ';' token
  501 |   template <typename T, size_t N> ArrayRef(const T (&Arr)[N]) -> ArrayRef<T>;
      |                                                                             ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:580:70: error: expected constructor, destructor, or type conversion before ';' token
  580 |   template <class T> MutableArrayRef(T &OneElt) -> MutableArrayRef<T>;
      |                                                                      ^
/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<T>;
      |                                                                ^
/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<T> &Vec) -> MutableArrayRef<T>;
      |                                                                 ^
/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<T, N> &Vec) -> MutableArrayRef<T>;
      |                                                                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:595:80: error: expected constructor, destructor, or type conversion before ';' token
  595 |   template <class T> MutableArrayRef(std::vector<T> &Vec) -> MutableArrayRef<T>;
      |                                                                                ^
/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<T, N> &Vec) -> MutableArrayRef<T>;
      |                                                               ^
/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<T>;
      |                                                     ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Threading.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h: In member function 'llvm::BitVector::size_type llvm::BitVector::count() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/BitVector.h:158:24: error: 'popcount' is not a member of 'llvm'; did you mean 'count'?
  158 |       NumBits += llvm::popcount(Bit);
      |                        ^~~~~~~~
      |                        count
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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<DomTreeT>::RootsT llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::FindRoots(const DomTreeT&, llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::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<NodeOrderMap> 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<NodeOrderMap> SuccOrder;
      |                                 ^
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<unsigned> 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<unsigned> 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<ThreadPoolStrategy>
      |        ^~~~~~~~
/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<ThreadPoolStrategy>
      |   ^~~
/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/GenericDomTreeConstruction.h:407:35: error: 'SuccOrder' was not declared in this scope
  407 |       std::optional<NodeOrderMap> SuccOrder;
      |                                   ^~~~~~~~~
/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<ThreadPoolStrategy> 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<ThreadPoolStrategy> 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<ThreadPoolStrategy> 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/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<ConstantRange>
      |        ^~~~~~~~
/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<ConstantRange>
      |   ^~~
/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<ConstantRange> 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<ConstantRange> exactUnionWith(const ConstantRange &CR) const;
      |   ^~~
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;
      |   ^~~
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<MDMapT> 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<MDMapT> 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<MDMapT> &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<MDMapT> &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<Metadata *> 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<Metadata *> getMappedMD(const Metadata *MD) const {
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex<mt_only>::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<mt_only>::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<mt_only>::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/ValueMap.h: In member function 'bool llvm::ValueMap<KeyT, ValueT, Config>::hasMD() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:113:36: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'?
  113 |   bool hasMD() const { return bool(MDMap); }
      |                                    ^~~~~
      |                                    MDMapT
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h: In member function 'bool llvm::sys::SmartRWMutex<mt_only>::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/ValueMap.h: In member function 'llvm::ValueMap<KeyT, ValueT, Config>::MDMapT& llvm::ValueMap<KeyT, ValueT, Config>::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<KeyT, ValueT, Config>::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/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<uint64_t> 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<uint64_t> 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<int64_t> 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<int64_t> trySExtValue() 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/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<SCEV::NoWrapFlags>
      |        ^~~~~~~~
/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<SCEV::NoWrapFlags>
      |   ^~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |        ^~~~~~~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |   ^~~
/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<bool> 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<bool> 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<bool> 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<bool> 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<MonotonicPredicateType>
      |        ^~~~~~~~
/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<MonotonicPredicateType>
      |   ^~~
/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<LoopInvariantPredicate>
      |        ^~~~~~~~
/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<LoopInvariantPredicate>
      |   ^~~
/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<LoopInvariantPredicate>
      |        ^~~~~~~~
/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<LoopInvariantPredicate>
      |   ^~~
/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<LoopInvariantPredicate>
      |        ^~~~~~~~
/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<LoopInvariantPredicate>
      |   ^~~
/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<APInt> 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<APInt> computeConstantDifference(const SCEV *LHS,
      |   ^~~
/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<APInt> 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<APInt> 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<unsigned> 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<unsigned> GetMostSignificantDifferentBit(const APInt &A,
      | ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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<int64_t> 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<int64_t> tryExtValue() const {
      |   ^~~
[ 35%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_options.c.o
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:18,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:35: error: 'string_view' in namespace 'std' does not name a type
  292 |     /*implicit*/ Twine(const std::string_view &Str)
      |                                   ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:292:30: note: 'std::string_view' is only available from C++17 onwards
  292 |     /*implicit*/ Twine(const std::string_view &Str)
      |                              ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h: In constructor 'llvm::Twine::Twine(const int&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:294:34: error: request for member 'data' in 'Str', which is of non-class type 'const int'
  294 |       LHS.ptrAndLength.ptr = Str.data();
      |                                  ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:295:37: error: request for member 'length' in 'Str', which is of non-class type 'const int'
  295 |       LHS.ptrAndLength.length = Str.length();
      |                                     ^~~~~~
/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<const SCEV *>
      |        ^~~~~~~~
/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<const SCEV *>
      |   ^~~
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::PointerIntPair<llvm::Value*, 1>, llvm::ScalarEvolution::ExitLimit>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1774:58:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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/PassSupport.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringExtras.h:322:29: note:   candidate expects 3 arguments, 1 provided
  322 |   return std::string(S.str());
      |                             ^
In file included from /usr/include/g++/string:55,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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/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<Args>(Items)));
      |                                                                 ^
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<ExitLimit> 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<ExitLimit> 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<ScalarEvolution::ExitLimit>
      |        ^~~~~~~~
/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<ScalarEvolution::ExitLimit>
      |   ^~~
/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<MonotonicPredicateType>
      |        ^~~~~~~~
/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<MonotonicPredicateType>
      |   ^~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |        ^~~~~~~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |   ^~~
[ 35%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_output.c.o
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std'
 1109 |             std::nullopt);
      |                  ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/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<Arg>,
      |                      ^~~~~~~~~~~
      |                      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<Arg>,
      |                                     ^
/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<Arg>,
      |                                      ^
/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<uint64_t> 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<uint64_t> FirstByteOffset;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:57: error: 'std::optional' has not been declared
  228 |   FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, std::optional<uint64_t> O,
      |                                                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:65: error: expected ',' or '...' before '<' token
  228 |   FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, std::optional<uint64_t> O,
      |                                                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In constructor 'llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef<unsigned char>, 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<uint64_t> FirstByteOffset = std::nullopt,
      |                   ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:27: error: expected ',' or '...' before '<' token
  240 |              std::optional<uint64_t> FirstByteOffset = std::nullopt,
      |                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes(llvm::ArrayRef<unsigned char>, 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<uint64_t> FirstByteOffset = std::nullopt,
      |                              ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token
  249 |                         std::optional<uint64_t> 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<unsigned char>, 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/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/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<bool> 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<bool> HasColors;
      |           ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:47: error: 'std::nullopt_t' has not been declared
  757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t);
      |                                               ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:53: error: 'optional' in namespace 'std' does not name a template type
  761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional<T> &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<T> &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<T> &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/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<const llvm::SCEV*> 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/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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:537:12: error: 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)' cannot be overloaded with 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)'
  537 |   explicit Expected(
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:529:3: note: previous declaration 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)'
  529 |   Expected(Expected<OtherT> &&Other,
      |   ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:28: error: 'optional' in namespace 'std' does not name a template type
 1054 | template <typename T> std::optional<T> expectedToOptional(Expected<T> &&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 <typename T> std::optional<T> expectedToOptional(Expected<T> &&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 <typename T> std::optional<T> expectedToStdOptional(Expected<T> &&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 <typename T> std::optional<T> expectedToStdOptional(Expected<T> &&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<size_t> 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<size_t> 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<size_t> 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<size_t> 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<size_t> 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<size_t> 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/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_output.c:19:
/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_output.c:19:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/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/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_output.c:19:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:5: error: 'Line' was not declared in this scope
 1306 |     Line = std::move(LineNum);
      |     ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:22: error: 'LineNum' was not declared in this scope
 1306 |     Line = std::move(LineNum);
      |                      ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In static member function 'static llvm::Error llvm::FileError::build(const llvm::Twine&, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1311:31: error: 'E' was not declared in this scope
 1311 |     handleAllErrors(std::move(E),
      |                               ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1317:53: error: 'Line' was not declared in this scope
 1317 |         std::unique_ptr<FileError>(new FileError(F, Line, std::move(Payload))));
      |                                                     ^~~~
/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_output.c:19:
/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_output.c:19:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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<size_t>(), 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<size_t>(), 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<size_t>(), 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<size_t>(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<size_t>(Line), std::move(E));
      |                                                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c: In function 'print_constraint_polylib':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:85:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   85 |  for (i = 0; i < bmap->n_div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c: In function 'print_constraints_polylib':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:106:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  106 |  for (i = 0; i < bmap->n_eq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:108:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  108 |  for (i = 0; i < bmap->n_ineq; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c: In function 'count_same_name':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:191:25: warning: operand of '?:' changes signedness from 'isl_size' {aka 'int'} to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
  191 |   s = t == type ? pos : isl_space_dim(space, t);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c: In function 'pos2type':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:250:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
  250 |  if (*pos < 1 + nparam) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:253:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
  253 |  } else if (*pos < 1 + nparam + n_in) {
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:256:18: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
  256 |  } else if (*pos < 1 + nparam + n_in + n_out) {
      |                  ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c: In function 'next_is_opposite':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:514:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  514 |  if (i + 1 >= bmap->n_ineq)
      |            ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:518:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  518 |  if (last >= o_div) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c: In function 'print_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:805:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  805 |    if (i != bmap->n_eq - 1)
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:819:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  819 |  for (i = 0; i < bmap->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:827:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  827 |   if (!dump && l >= o_div &&
      |                  ^~
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<PointerTy, IntBits, IntType, PtrTraits, Info>&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  236 |   if constexpr (I == 0)
      |      ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c: In function 'drop_aff':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:1320:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1320 |   for (j = 0; j < aff->n_eq; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c: In function 'defining_equality':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:1395:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1395 |  for (i = 0; i < eq->n_eq; ++i) {
      |                ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<Align> {
      |                                         ^
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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/polly-16.0.6.src/lib/External/isl/isl_output.c: In function 'print_basic_set_c':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:2199:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2199 |  for (i = 0; i < bset->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:2217:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2217 |  for (i = 0; i < bset->n_ineq; ++i)
      |                ^
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<uint32_t> Tolerance);
      |                                              ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:54: error: expected ',' or '...' before '<' token
  208 |   void setDiagnosticsMisExpectTolerance(std::optional<uint32_t> 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<uint64_t> Threshold);
      |                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:52: error: expected ',' or '...' before '<' token
  225 |   void setDiagnosticsHotnessThreshold(std::optional<uint64_t> Threshold);
      |                                                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c: In function 'print_ls_partial_affine_c':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_output.c:2940:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2940 |  for (i = 0, first = 1; i < len; ++i) {
      |                           ^
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<llvm::MetadataAsValue*, llvm::Metadata*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>'
/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<llvm::MetadataAsValue*, llvm::Metadata*>' 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<llvm::MetadataAsValue*, llvm::Metadata*>':
/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<llvm::MetadataAsValue*, llvm::Metadata*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
[ 35%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_point.c.o
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<void*, std::pair<llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>, long long unsigned int>, 4>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:289:58:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>'
/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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>' 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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>':
/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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<Metadata *> Ops1, ArrayRef<Metadata *> Ops2 = std::nullopt);
      |                                                                      ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::MutableArrayRef<llvm::MDOperand> 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::MDOperand> 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<const MDOperand *>(this) - SmallSize,
      |                      ^
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<const void*, llvm::ImmutablePass*, 8>':
/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<polly::ScopArrayInfo*, llvm::detail::DenseSetEmpty, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void>, llvm::detail::DenseSetPair<polly::ScopArrayInfo*> >':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:55:17:   required from 'class llvm::detail::DenseSetImpl<polly::ScopArrayInfo*, llvm::SmallDenseMap<polly::ScopArrayInfo*, llvm::detail::DenseSetEmpty, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void>, llvm::detail::DenseSetPair<polly::ScopArrayInfo*> >, llvm::DenseMapInfo<polly::ScopArrayInfo*, void> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:286:7:   required from 'class llvm::SmallDenseSet<polly::ScopArrayInfo*, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:293:12:   required from 'class llvm::SetVector<polly::ScopArrayInfo*, llvm::SmallVector<polly::ScopArrayInfo*, 2>, llvm::SmallDenseSet<polly::ScopArrayInfo*, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void> > >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:300:7:   required from 'class llvm::SmallSetVector<polly::ScopArrayInfo*, 2>'
/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/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<uint64_t> 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<uint64_t> getIrrLoopHeaderWeight() const;
      |   ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<Level> 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<Level> 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<Level> 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<Level> parseLevel(char C) {
      |          ^~~
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_point.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_point.c:16:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_point.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_point.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:24,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_point.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
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<unsigned> &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<unsigned> &NumElemsArg);
      |             ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:26: error: expected ',' or '...' before '<' token
  141 |       const std::optional<unsigned> &NumElemsArg);
      |                          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:234:28: error: 'optional' is not a member of 'std'
  234 |   std::pair<unsigned, std::optional<unsigned>> 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<unsigned, std::optional<unsigned>> getAllocSizeArgs() const;
      |                                             ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:241:8: error: 'optional' in namespace 'std' does not name a template type
  241 |   std::optional<unsigned> 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<unsigned> 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<std::pair<unsigned, std::optional<unsigned>>> 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<std::pair<unsigned, std::optional<unsigned>>> 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<unsigned> 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<unsigned> 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<unsigned> &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<unsigned> &NumElemsArg);
      |                               ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:44: error: expected ',' or '...' before '<' token
  735 |                         const std::optional<unsigned> &NumElemsArg);
      |                                            ^
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<std::string> 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<std::string> name;
      |   ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_point.c: In function 'isl_point_alloc':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_point.c:70:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
   70 |  if (vec->size > 1 + dim) {
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/list.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_private.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_point.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_point.c: In function 'isl_point_var_offset':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:97:24: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare]
   97 | #define isl_size_error ((int) -1)
      |                        ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_point.c:304:50: note: in expansion of macro 'isl_size_error'
  304 |  return pnt ? isl_space_offset(pnt->dim, type) : isl_size_error;
      |                                                  ^~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_point.c:310:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_point_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/.buildlink/include/llvm/IR/Attributes.h:1111:8: error: 'optional' in namespace 'std' does not name a template type
 1111 |   std::optional<uint64_t> 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<uint64_t> 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<std::pair<unsigned, std::optional<unsigned>>> 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<std::pair<unsigned, std::optional<unsigned>>> 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<unsigned> &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<unsigned> &NumElemsArg);
      |                                       ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:52: error: expected ',' or '...' before '<' token
 1197 |                                 const std::optional<unsigned> &NumElemsArg);
      |                                                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:40: error: 'std::optional' has not been declared
 1201 |                                   std::optional<unsigned> MaxValue);
      |                                        ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:48: error: expected ',' or '...' before '<' token
 1201 |                                   std::optional<unsigned> MaxValue);
      |                                                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1114:35: error: return type 'struct llvm::MaybeAlign' is incomplete
 1114 |   MaybeAlign getAlignment() const {
      |                                   ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'void llvm::AttrBuilder::getAlignment() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:23: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1115 |     return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0));
      |                       ^~~~~~~~~~~~~
      |                       addRawIntAttr
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1115:70: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1115 |     return MaybeAlign(getRawIntAttr(Attribute::Alignment).value_or(0));
      |                                                                      ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
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 {
      |                                        ^
/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<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableBytes() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1126:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1126 |     return getRawIntAttr(Attribute::Dereferenceable).value_or(0);
      |            ^~~~~~~~~~~~~
      |            addRawIntAttr
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'uint64_t llvm::AttrBuilder::getDereferenceableOrNullBytes() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1132:12: error: 'getRawIntAttr' was not declared in this scope; did you mean 'addRawIntAttr'?
 1132 |     return getRawIntAttr(Attribute::DereferenceableOrNull).value_or(0);
      |            ^~~~~~~~~~~~~
      |            addRawIntAttr
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h: In member function 'llvm::AttrBuilder& llvm::AttrBuilder::addAlignmentAttr(unsigned int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1172:45: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1172 |     return addAlignmentAttr(MaybeAlign(Align));
      |                                             ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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*> llvm::Type::subtypes() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:355:20: error: missing template arguments before '(' token
  355 |     return ArrayRef(subtype_begin(), subtype_end());
      |                    ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<llvm::Type*> 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<are_base_of<Type, Tys...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  245 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                                                   ^
In file included from /usr/include/g++/bits/move.h:57,
                 from /usr/include/g++/bits/stl_pair.h:59,
                 from /usr/include/g++/bits/stl_algobase.h:64,
                 from /usr/include/g++/bits/char_traits.h:39,
                 from /usr/include/g++/string:40,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/usr/include/g++/type_traits:2553:24: note: declared here
 2553 |   template<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<are_base_of<Type, Tys...>::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<are_base_of<Type, Tys...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  262 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                                                   ^
In file included from /usr/include/g++/bits/move.h:57,
                 from /usr/include/g++/bits/stl_pair.h:59,
                 from /usr/include/g++/bits/stl_algobase.h:64,
                 from /usr/include/g++/bits/char_traits.h:39,
                 from /usr/include/g++/string:40,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:31,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/usr/include/g++/type_traits:2553:24: note: declared here
 2553 |   template<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:59: error: expected ';' before ',' token
  262 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                                                           ^
      |                                                           ;
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:267:3: error: redeclaration of 'template<class ... Tys> int llvm::StructType::value<Tys ...>'
  267 |   }
      |   ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:54: note: previous declaration 'template<class ... Tys> int llvm::StructType::value<Tys ...>'
  245 |   static std::enable_if_t<are_base_of<Type, Tys...>::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<are_base_of<Type, Tys...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  305 |   std::enable_if_t<are_base_of<Type, Tys...>::value, void>
      |                                            ^
/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
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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<are_base_of<Type, Tys...>::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<are_base_of<Type, Tys...>::value, void>
      |                                               ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<llvm::Type*> llvm::StructType::elements() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:320:20: error: missing template arguments before '(' token
  320 |     return ArrayRef(element_begin(), element_end());
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/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/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<Type *> 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<unsigned> Ints = std::nullopt);
      |                                                            ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<llvm::Type*> 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<unsigned int> llvm::TargetExtType::int_params() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:780:20: error: missing template arguments before '(' token
  780 |     return ArrayRef(IntParams, getNumIntParameters());
      |                    ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:18,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<ConstantRange> 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<ConstantRange> getAbsoluteSymbolRange() const;
      |   ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:79:31: error: return type 'struct llvm::MaybeAlign' is incomplete
   79 |   MaybeAlign getAlign() const {
      |                               ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'void llvm::GlobalObject::getAlign() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:82:12: error: 'decodeMaybeAlign' was not declared in this scope
   82 |     return decodeMaybeAlign(AlignmentData);
      |            ^~~~~~~~~~~~~~~~
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<ProfileCount> 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<ProfileCount> 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<StringRef> 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<StringRef> getSectionPrefix() const;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'bool llvm::Function::hasProfileData(bool) const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:290:12: error: 'getEntryCount' was not declared in this scope; did you mean 'setEntryCount'?
  290 |     return getEntryCount(IncludeSynthetic).has_value();
      |            ^~~~~~~~~~~~~
      |            setEntryCount
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:425:38: error: return type 'struct llvm::MaybeAlign' is incomplete
  425 |   MaybeAlign getFnStackAlign() const {
      |                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getFnStackAlign() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:426:46: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
  426 |     return AttributeSets.getFnStackAlignment();
      |                                              ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:440:50: error: return type 'struct llvm::MaybeAlign' is incomplete
  440 |   MaybeAlign getParamAlign(unsigned ArgNo) const {
      |                                                  ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h: In member function 'void llvm::Function::getParamAlign(unsigned int) const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:441:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
  441 |     return AttributeSets.getParamAlignment(ArgNo);
      |                                                 ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<typename MapType::mapped_type>,
      |            ^~~~~~~~~~~~~
      |            is_integral
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:55: error: expected '(' before '>' token
   42 |       std::is_integral_v<typename MapType::mapped_type>,
      |                                                       ^
      |                                                       (
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:56: error: expected primary-expression before ',' token
   42 |       std::is_integral_v<typename MapType::mapped_type>,
      |                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: In member function 'ValueT llvm::MapVector<KeyT, ValueT, MapType, VectorType>::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<ValueT>,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
      |                        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<ValueT>,
      |                                                      ^
/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<ValueT>,
      |                                                       ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:20,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h:107:1: warning: inline variables are only available with '-std=c++17' or '-std=gnu++17'
  107 | inline constexpr force_iteration_on_noniterable_enum_t
      | ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/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/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<CostType> 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<CostType> getValue() const {
      |   ^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:557:8: error: 'optional' in namespace 'std' does not name a template type
  557 |   std::optional<Instruction *> 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<Instruction *> 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<Value *> 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<Value *> 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<Value *> 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<Value *> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<FastMathFlags> 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<FastMathFlags> 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<FastMathFlags> 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<FastMathFlags> FMF,
      |                                                     ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1326:12: error: 'std::optional' has not been declared
 1326 |       std::optional<FastMathFlags> FMF,
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1326:20: error: expected ',' or '...' before '<' token
 1326 |       std::optional<FastMathFlags> FMF,
      |                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1383:12: error: 'std::optional' has not been declared
 1383 |       std::optional<uint32_t> 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<uint32_t> 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<uint32_t> 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<uint32_t> AtomicCpySize = std::nullopt) const;
      |                    ^
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<OperandBundleUse> 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<OperandBundleUse> 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<OperandBundleUse> 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<OperandBundleUse> getOperandBundle(uint32_t ID) const {
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1743:34: error: return type 'struct llvm::MaybeAlign' is incomplete
 1743 |   MaybeAlign getRetAlign() const {
      |                                  ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getRetAlign() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1744:44: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1744 |     if (auto Align = Attrs.getRetAlignment())
      |                                            ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1119:44: error: 'nullopt' is not a member of 'std'
 1119 |                  ArrayRef<int> 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<const Value *> 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<Instruction *> 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<Instruction *> 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<Value *> 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<Value *> 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<Value *> 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<Value *> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<FastMathFlags> FMF,
      |                                   ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1833:43: error: expected ',' or '...' before '<' token
 1833 |                              std::optional<FastMathFlags> FMF,
      |                                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1840:12: error: 'std::optional' has not been declared
 1840 |       std::optional<FastMathFlags> FMF,
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1840:20: error: expected ',' or '...' before '<' token
 1840 |       std::optional<FastMathFlags> FMF,
      |                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1864:12: error: 'std::optional' has not been declared
 1864 |       std::optional<uint32_t> AtomicElementSize) const = 0;
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1864:20: error: expected ',' or '...' before '<' token
 1864 |       std::optional<uint32_t> 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<uint32_t> AtomicCpySize) const = 0;
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1870:20: error: expected ',' or '...' before '<' token
 1870 |       std::optional<uint32_t> 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<Instruction *>
      |        ^~~~~~~~
/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<Instruction *>
      |   ^~~
/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<Value *>
      |        ^~~~~~~~
/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<Value *>
      |   ^~~
/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<Value *> 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<Value *> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> getVScaleForTuning() const override {
      |   ^~~
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
/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<unsigned> 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<unsigned> 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<unsigned>
      |        ^~~~~~~~
/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<unsigned>
      |   ^~~
  111 |   std::optional<TypeSize> 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<TypeSize> 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<TypeSize> 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<TypeSize> getAllocationSizeInBits(const DataLayout &DL) const;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1541:69: error: 'nullopt' is not a member of 'std'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2431:35: error: 'std::optional' has not been declared
 2431 |                              std::optional<FastMathFlags> FMF,
      |                                   ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2431:43: error: expected ',' or '...' before '<' token
 2431 |                              std::optional<FastMathFlags> FMF,
      |                                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2442:12: error: 'std::optional' has not been declared
 2442 |       std::optional<FastMathFlags> FMF,
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2442:20: error: expected ',' or '...' before '<' token
 2442 |       std::optional<FastMathFlags> FMF,
      |                    ^
 1541 |                           ArrayRef<OperandBundleDef> 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<OperandBundleDef> 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<OperandBundleDef> 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<OperandBundleDef> Bundles = std::nullopt,
      |                                                          ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2485:12: error: 'std::optional' has not been declared
 2485 |       std::optional<uint32_t> AtomicElementSize) const override {
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2485:20: error: expected ',' or '...' before '<' token
 2485 |       std::optional<uint32_t> 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<uint32_t> AtomicCpySize) const override {
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2494:20: error: expected ',' or '...' before '<' token
 2494 |       std::optional<uint32_t> AtomicCpySize) const override {
      |                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In constructor 'llvm::CallInst::CallInst(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, 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<llvm::Value*>, 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/Analysis/TargetTransformInfo.h: In member function 'llvm::InstructionCost llvm::TargetTransformInfo::Model<T>::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/IR/Instructions.h: In static member function 'static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, 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/Analysis/TargetTransformInfo.h: In member function 'llvm::InstructionCost llvm::TargetTransformInfo::Model<T>::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<T>::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<T>::getMemcpyLoopResidualLoweringType(llvm::SmallVectorImpl<llvm::Type*>&, 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<TargetTransformInfo> 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<TargetTransformInfo> TTI;
      |   ^~~
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::Region*, int, 4, llvm::DenseMapInfo<llvm::Region*, void>, llvm::detail::DenseMapPair<llvm::Region*, int> >':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PriorityWorklist.h:61:9:   required from 'class llvm::PriorityWorklist<llvm::Region*, llvm::SmallVector<llvm::Region*, 4>, llvm::SmallDenseMap<llvm::Region*, int, 4, llvm::DenseMapInfo<llvm::Region*, void>, llvm::detail::DenseMapPair<llvm::Region*, int> > >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PriorityWorklist.h:255:7:   required from 'class llvm::SmallPriorityWorklist<llvm::Region*, 4>'
/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/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<Align> Alignment = std::nullopt);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:24: error: expected ',' or '...' before '<' token
  100 |           std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:33: error: expected ',' or '...' before '<' token
  114 |                    std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                    ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:28: error: expected ',' or '...' before '<' token
  128 |               std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                       ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:31: error: expected ',' or '...' before '<' token
  152 |                  std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                     ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:29: error: expected ',' or '...' before '<' token
  158 |                std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFile(const llvm::Twine&, bool, bool, bool, int)'
  100 |           std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getOpenFileSlice(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, int64_t, bool, int)'
  114 |                    std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getOpenFile(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, bool, bool, int)'
  128 |               std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFileOrSTDIN(const llvm::Twine&, bool, bool, int)'
  152 |                  std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)'
  158 |                std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:24: error: expected ',' or '...' before '<' token
  204 |           std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                     ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:29: error: expected ',' or '...' before '<' token
  210 |                std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                              ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:38: error: expected ',' or '...' before '<' token
  220 |                         std::optional<Align> 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<std::unique_ptr<llvm::WritableMemoryBuffer> > llvm::WritableMemoryBuffer::getFile(const llvm::Twine&, bool, int)'
  204 |           std::optional<Align> 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<std::unique_ptr<llvm::WritableMemoryBuffer> > llvm::WritableMemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)'
  210 |                std::optional<Align> 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> llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t, const llvm::Twine&, int)'
  220 |                         std::optional<Align> Alignment = std::nullopt);
      |                         ^~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:219:51: note: ...following parameter 2 which has a default argument
  219 |   getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "",
      |                                      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SourceMgr.h:20,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:10: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses]
   53 |   SMRange(std::nullopt_t) {}
      |          ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:11: error: invalid use of '::'
   53 |   SMRange(std::nullopt_t) {}
      |           ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SMLoc.h:53:28: error: expected ';' at end of member declaration
   53 |   SMRange(std::nullopt_t) {}
      |                            ^
      |                             ;
/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<SmallVector<uint32_t, 8>> 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<SmallVector<uint32_t, 8>> 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<uint32_t>;
      |                              ^~~~~~~~
/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<uint32_t>;
      |                         ^~~
/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<OperandBundleDef> 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<OperandBundleDef> 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<llvm::Value*>, 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<llvm::Value*>, 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<llvm::Value*>, 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<OperandBundleDef> 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<OperandBundleDef> Bundles = std::nullopt,
      |                                                                       ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<char>::basic_string(llvm::StringRef&)'
  297 |       : Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), Message(Msg) {}
      |                                                                             ^
/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::BasicBlock*>, llvm::ArrayRef<llvm::Value*>, 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 /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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: In static member function 'static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef<llvm::BasicBlock*>, llvm::ArrayRef<llvm::Value*>, 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,
      |                                                                     ^~~~~~~
/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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<uint64_t> 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<uint64_t> 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<uint64_t> 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<uint64_t> 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<uint64_t> 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<uint64_t> 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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/GICHelper.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:26:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef, bool)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: error: no matching function for call to 'std::__cxx11::basic_string<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<uint64_t> H) { Hotness = H; }
      |                                                ^~~~~~~
      |                                                setHotness
/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<Value *> Args = std::nullopt,
      |                                                               ^~~~~~~
/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<uint64_t> H) { Hotness = H; }
      |                                                          ^
/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<SyncScope::ID> 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<SyncScope::ID> getAtomicSyncScopeID(const Instruction *I) {
      |        ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:44,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<EltTy>::operator llvm::ArrayRef<U>() 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<EltTy>::operator llvm::MutableArrayRef<T>()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:147:19: error: 'nullopt' is not a member of 'std'
  147 |       return std::nullopt;
      |                   ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:127:14: error: field 'StackNaturalAlign' has incomplete type 'llvm::MaybeAlign'
  127 |   MaybeAlign StackNaturalAlign;
      |              ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:131:14: error: field 'FunctionPtrAlign' has incomplete type 'llvm::MaybeAlign'
  131 |   MaybeAlign FunctionPtrAlign;
      |              ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c: In function 'isl_basic_map_drop_redundant_divs_ineq':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4759:5: warning: 'last_neg' may be used uninitialized in this function [-Wmaybe-uninitialized]
 4759 |  if (ineq1 > ineq2) {
      |     ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5031:17: note: 'last_neg' was declared here
 5031 |   int last_pos, last_neg;
      |                 ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:4924:2: warning: 'last_pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
 4924 |  lower_bound_from_parallel(bmap, ineq, lower, o_div + div, &c);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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<APInt> 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<APInt> getGEPIndexForOffset(Type *&ElemTy, APInt &Offset) const;
      |   ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_simplify.c:5031:7: note: 'last_pos' was declared here
 5031 |   int last_pos, last_neg;
      |       ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:288:42: error: return type 'struct llvm::MaybeAlign' is incomplete
  288 |   MaybeAlign getFunctionPtrAlign() const { return FunctionPtrAlign; }
      |                                          ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:534:54: error: 'Alignment' has incomplete type
  534 |   inline Align getValueOrABITypeAlignment(MaybeAlign Alignment,
      |                                           ~~~~~~~~~~~^~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<Align> {
      |        ^~~~~~~~~~
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<long long unsigned int> 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<uint64_t>(),
      |                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::ArrayRef<long long unsigned int> 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<uint64_t>(), NumElements);
      |                          ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:28,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<unsigned> AddressSpace = std::nullopt,
      |                       ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:31: error: expected ',' or '...' before '<' token
   62 |                  std::optional<unsigned> 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<unsigned> AddressSpace = std::nullopt,
      |                  ^~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:59:54: note: ...following parameter 6 which has a default argument
   59 |                  Constant *Initializer, const Twine &Name = "",
      |                                         ~~~~~~~~~~~~~^~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<CodeModel::Model> 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<CodeModel::Model> 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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setSourceFileName(llvm::StringRef)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:294:77: error: no matching function for call to 'std::__cxx11::basic_string<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std'
   73 |                 std::conjunction<
      |                      ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: error: 'conjunction' is not a member of 'std'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:73:22: note: 'std::conjunction' is only available from C++17 onwards
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:74:26: error: 'negation' is not a member of 'std'
   74 |                     std::negation<std::is_same<std::decay_t<T>, 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<std::is_same<std::decay_t<T>, Any>>,
      |                                                                    ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:26: error: 'std::negation' has not been declared
   85 |                     std::negation<std::is_convertible<Any, std::decay_t<T>>>,
      |                          ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:34: error: expected '>' before '<' token
   85 |                     std::negation<std::is_convertible<Any, std::decay_t<T>>>,
      |                                  ^
/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<std::decay_t<T>>>::value,
      |                                                                   ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<std::disjunction<
      |                                                ^~~~~~~~~~~
/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++/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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
 2554 |     using enable_if_t = typename enable_if<_Cond, _Tp>::type;
      |           ^~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<CallableT, R, P...> * = nullptr)
      |               ^~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:31: error: expected ',' or '...' before '<' token
  378 |       detail::EnableIfCallable<CallableT, R, P...> * = 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<R(P ...)>::unique_function(CallableT, llvm::detail::EnableUnlessSameType<CallableT, llvm::unique_function<R(P ...)> >*, int)'
  378 |       detail::EnableIfCallable<CallableT, R, P...> * = 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<CallableT, unique_function> * = 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<const CallableT, R, P...> * = nullptr)
      |               ^~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:31: error: expected ',' or '...' before '<' token
  404 |       detail::EnableIfCallable<const CallableT, R, P...> * = 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<R(P ...) const>::unique_function(CallableT, llvm::detail::EnableUnlessSameType<CallableT, llvm::unique_function<R(P ...) const> >*, int)'
  404 |       detail::EnableIfCallable<const CallableT, R, P...> * = 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<CallableT, unique_function> * = nullptr,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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<ItTy, FuncTy, ReferenceTy>::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<llvm::BasicBlock* (*&)(llvm::Value*)>::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<llvm::BasicBlock* (*&)(llvm::Value*)>::type {aka llvm::BasicBlock* (*)(llvm::Value*)}
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator<ItTy, FuncTy, ReferenceTy>::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<const llvm::BasicBlock* (*&)(const llvm::Value*)>::type' {aka 'const llvm::BasicBlock* (*)(const llvm::Value*)'} to 'int' [-fpermissive]
[ 37%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_polynomial.c.o
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::AnalysisKey*, bool, 8>':
/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/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 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/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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<llvm::AnalysisKey*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/usr/include/g++/type_traits:2092:9:   required from 'const size_t std::__strictest_alignment<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_size'
/usr/include/g++/type_traits:2113:56:   required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_len'
/usr/include/g++/type_traits:2119:71:   required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/usr/include/g++/type_traits:2546:11:   required by substitution of 'template<unsigned int _Len, class ... _Types> using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9:   required from 'struct llvm::AlignedCharArrayUnion<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59:   required from 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>' 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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<llvm::AnalysisKey*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/usr/include/g++/type_traits:2092:9:   required from 'const size_t std::__strictest_alignment<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_size'
/usr/include/g++/type_traits:2113:56:   required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_len'
/usr/include/g++/type_traits:2119:71:   required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/usr/include/g++/type_traits:2546:11:   required by substitution of 'template<unsigned int _Len, class ... _Types> using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9:   required from 'struct llvm::AlignedCharArrayUnion<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59:   required from 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
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_polynomial.c:12:
/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_polynomial.c:12:
/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_polynomial.c:12:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:12:
/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_polynomial.c:12:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<PassT>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef(llvm::StringRef)>)':
/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<int64_t> 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<int64_t> identifyObject(const void *Ptr) {
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: In member function 'int64_t llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold, GrowthDelay>::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<int64_t> 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<int64_t> 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<int64_t> 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<int64_t> Out = identifyObject(Ptr);
      |                                  ^~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:34:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_qpolynomial_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_qpolynomial_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_qpolynomial_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<Loop::LoopBounds>
      |                 ^~~~~~~~
/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<Loop::LoopBounds>
      |            ^~~
/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<LoopBounds> 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<LoopBounds> getBounds(ScalarEvolution &SE) const;
      |   ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_qpolynomial_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:39:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_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_qpolynomial_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_pw_qpolynomial_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:1330:6: error: 'optional' in namespace 'std' does not name a template type
 1330 | std::optional<bool> 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<bool> 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<int> 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<int> 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<const MDOperand *> 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<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
      | ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'sort_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:1526:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1526 |  for (i = 0; i < qp->div->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:1539:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1539 |  for (i = 0; i < qp->div->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_poly_subs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2300:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2300 |  if (poly->var < first)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2309:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2309 |  if (poly->var >= first + n)
      |                ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_poly_from_affine':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2340:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2340 |  for (i = 0; i < len - 1; ++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/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<T> 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<T> Result;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch<T, R>::StringSwitch(llvm::StringRef)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:54:13: error: class 'llvm::StringSwitch<T, R>' 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<T, R>::StringSwitch(llvm::StringSwitch<T, R>&&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:64:23: error: class 'llvm::StringSwitch<T, R>' 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<T, R>& llvm::StringSwitch<T, R>::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/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'substitute_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2409:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2409 |  for (i = div_pos + div + 1; i < div_pos + qp->div->n_row; ++i)
      |                                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'substitute_non_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2441:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2441 |  for (i = 0; qp && i < qp->div->n_row; ++i) {
      |                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::EndsWith(llvm::StringLiteral, T)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:77:10: error: 'Result' was not declared in this scope
   77 |     if (!Result && Str.endswith(S)) {
      |          ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2444:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2444 |   for (j = i + 1; j < qp->div->n_row; ++j) {
      |                     ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'reduce_div':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2480:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2480 |  for (i = 0; i < 1 + total + div; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2488:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2488 |   for (j = div + 1; j < qp->div->n_row; ++j) {
      |                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::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/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'reduce_divs':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2579:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2579 |  for (i = 0; i < qp->div->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::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/lib/External/isl/isl_polynomial.c: In function 'set_active':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2696:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2696 |   for (j = 0; j < qp->div->n_row; ++j) {
      |                 ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2709:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_qpolynomial_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/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::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/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_qpolynomial_involves_dims':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2743:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2743 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>& llvm::StringSwitch<T, R>::StartsWithLower(llvm::StringLiteral, T)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:157:10: error: 'Result' was not declared in this scope
  157 |     if (!Result && Str.startswith_insensitive(S))
      |          ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_poly_drop':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2851:43: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2851 |  if (n == 0 || poly->var < 0 || poly->var < first)
      |                                           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2853:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2853 |  if (poly->var < first + n) {
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'R llvm::StringSwitch<T, R>::Default(T)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:183:9: error: 'Result' was not declared in this scope
  183 |     if (Result)
      |         ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_qpolynomial_substitute_equalities_lifted':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In member function 'llvm::StringSwitch<T, R>::operator R()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:190:23: error: 'Result' was not declared in this scope
  190 |     return std::move(*Result);
      |                       ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:2999:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 2999 |  for (i = 0; i < eq->n_eq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3001:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3001 |   if (j < 0 || j == 0 || j >= total)
      |                            ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3004:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3004 |   for (k = 0; k < qp->div->n_row; ++k) {
      |                 ^
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_polynomial.c:12:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_qpolynomial_add_dup_piece':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |                        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:148:7: note: in definition of macro 'isl_assert4'
  148 |   if (test)      \
      |       ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:75:2: note: in expansion of macro 'isl_assert'
   75 |  isl_assert(ctx, pw->n < pw->size, goto error);
      |  ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3110:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_qpolynomial_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:511:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  511 |  if (pw->n + n <= pw->size)
      |                ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c: In function 'isl_pw_qpolynomial_add_disjoint':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_pw_templ.c:541:16: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  541 |  if (pw1->size < pw1->n + pw2->n && pw1->n < pw2->n)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_qpolynomial_insert_dims':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3352:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3352 |   for (i = 0; i < total - g_pos; ++i)
      |                 ^
[ 37%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_printer.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'reordering_move':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3393:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3393 |   for (i = 0; i < dst; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3395:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3395 |   for (i = 0; i < n; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3397:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3397 |   for (i = 0; i < src - dst; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3399:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3399 |   for (i = 0; i < len - src - n; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3402:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3402 |   for (i = 0; i < src; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3404:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3404 |   for (i = 0; i < n; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3406:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3406 |   for (i = 0; i < dst - src; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3408:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3408 |   for (i = 0; i < len - dst - n; ++i)
      |                 ^
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<Align> {
      |        ^~~~~~~~~~
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/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_qpolynomial_substitute':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3589:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3589 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3593:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3593 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3598:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3598 |  for (i = 0; i < n; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3606:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3606 |  for (i = 0; i < n; ++i)
      |                ^
/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/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_poly_coeff':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3721:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3721 |  if (is_cst || poly->var < pos) {
      |                          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:3732:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 3732 |  if (poly->var == pos) {
      |                ^~
/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<are_base_of<Constant, Csts...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  455 |   static std::enable_if_t<are_base_of<Constant, Csts...>::value, Constant *>
      |                                                        ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:4053:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/check_type_range_templ.c: In function 'isl_term_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 /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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:64: error: expected ';' before ',' token
  455 |   static std::enable_if_t<are_base_of<Constant, Csts...>::value, Constant *>
      |                                                                ^
      |                                                                ;
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_qpolynomial_lift':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:4245:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4245 |   for (i = 0; i < qp->div->n_row; ++i)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:4255:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4255 |  for (i = 0; i < qp->div->n_row; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_qpolynomial_morph_domain':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:4410:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4410 |  for (i = 0; 1 + i < morph->inv->n_row; ++i)
      |                    ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:4414:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4414 |   for (i = 0; i < qp->div->n_row; ++i)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<const llvm::Value*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32:   required from 'llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector<const llvm::Value*>; KeyInfoT = llvm::DenseMapInfo<llvm::Instruction*, void>; BucketT = llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >]'
/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<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>' used in nested name specifier
  170 | struct TypesAreDistinct
      |        ^~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'set_div':
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<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<const llvm::Value*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32:   required from 'llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector<const llvm::Value*>; KeyInfoT = llvm::DenseMapInfo<llvm::Instruction*, void>; BucketT = llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >]'
/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<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:4587:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4587 |  for (i = div + 1; i < qp->div->n_row; ++i) {
      |                      ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'split_periods':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:4662:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4662 |  for (i = 0; i < qp->div->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:4692:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 4692 |  if (i < qp->div->n_row) {
      |        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'make_divs_pos':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:5021:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5021 |  for (i = 0; i < qp->div->n_row; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:5048:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5048 |   for (j = i + 1; j < qp->div->n_row; ++j) {
      |                     ^
/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/polly-16.0.6.src/lib/External/isl/isl_polynomial.c: In function 'isl_basic_map_from_qpolynomial':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_polynomial.c:5204:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 5204 |  for (i = 0; i < n_div; ++i) {
      |                ^
/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<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:33: error: expected ',' or '...' before '<' token
 1247 |                    std::optional<unsigned> 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<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:33: error: expected ',' or '...' before '<' token
 1255 |                    std::optional<unsigned> 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<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:33: error: expected ',' or '...' before '<' token
 1266 |                    std::optional<unsigned> 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<llvm::Constant*>, bool, int)'
 1247 |                    std::optional<unsigned> 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<unsigned> 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<llvm::Value*>, bool, int)'
 1266 |                    std::optional<unsigned> 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<llvm::Constant*>, bool, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1250:24: error: missing template arguments before '(' token
 1250 |         Ty, C, ArrayRef((Value *const *)IdxList.data(), IdxList.size()),
      |                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:19: error: 'InRangeIndex' was not declared in this scope
 1251 |         InBounds, InRangeIndex, OnlyIfReducedTy);
      |                   ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:33: error: 'OnlyIfReducedTy' was not declared in this scope
 1251 |         InBounds, InRangeIndex, OnlyIfReducedTy);
      |                                 ^~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1260:64: error: 'InRangeIndex' was not declared in this scope
 1260 |     return getGetElementPtr(Ty, C, cast<Value>(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);
      |                             ^~~~~~~~~~~~~~~
[ 37%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_range.c.o
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<Metadata *> Ops1, ArrayRef<Metadata *> 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/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIAssignID::DIAssignID(llvm::LLVMContext&, llvm::Metadata::StorageType)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:307:49: error: 'nullopt' is not a member of 'std'
  307 |       : MDNode(C, DIAssignIDKind, Storage, std::nullopt) {}
      |                                                 ^~~~~~~
In file included from /pbulk/work/devel/polly/work/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_printer.c:2:
/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
      | 
/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<StringRef> 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<StringRef> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> Checksum;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:15: error: 'std::optional' has not been declared
  604 |          std::optional<ChecksumInfo<MDString *>> CS, MDString *Src,
      |               ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:23: error: expected ',' or '...' before '<' token
  604 |          std::optional<ChecksumInfo<MDString *>> 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<ChecksumInfo<StringRef>> CS,
      |                               ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:39: error: expected ',' or '...' before '<' token
  610 |                          std::optional<ChecksumInfo<StringRef>> CS,
      |                                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:31: error: 'std::optional' has not been declared
  623 |                          std::optional<ChecksumInfo<MDString *>> CS,
      |                               ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:39: error: expected ',' or '...' before '<' token
  623 |                          std::optional<ChecksumInfo<MDString *>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> CS = std::nullopt,
      |                                   ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:45:35: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   45 |                                   DEFINE_MDNODE_GET_UNPACK(FORMAL)) {          \
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:648:8: error: 'optional' in namespace 'std' does not name a template type
  648 |   std::optional<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<StringRef> 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<StringRef> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumKind> 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<ChecksumKind> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> MDChecksum;
      |                                          ^~
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_range.c:1:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_range.c:1:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:613:45: error: 'MDChecksum' was not declared in this scope
  613 |     std::optional<ChecksumInfo<MDString *>> MDChecksum;
      |                                             ^~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:614:9: error: 'CS' was not declared in this scope
  614 |     if (CS)
      |         ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:20: error: invalid use of member 'llvm::DIFile::Source' in static member function
  618 |                    Source ? MDString::get(Context, *Source) : nullptr, Storage,
      |                    ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:53: error: invalid use of member 'llvm::DIFile::Source' in static member function
  618 |                    Source ? MDString::get(Context, *Source) : nullptr, Storage,
      |                                                     ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:72: error: invalid use of member 'llvm::Metadata::Storage' in static member function
  618 |                    Source ? MDString::get(Context, *Source) : nullptr, Storage,
      |                                                                        ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here
   72 |   unsigned char Storage : 7;
      |                 ^~~~~~~
In file included from /pbulk/work/devel/polly/work/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_range.c:1:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/hash.h:15,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:14,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_printer.c:2:
/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 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_range.c:1:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_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_range.c:1:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/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/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_printer.c:2:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/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<StringRef> 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<StringRef> DIScope::getSource() const {
      | ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/DependenceInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56:   required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49:   required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73:   required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys ...>::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<NextTy>) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects<llvm::StructLayout, long long unsigned int>; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40:   required from 'T* llvm::TrailingObjects<BaseTy, TrailingTys>::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion
  399 |   static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue),
      |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 2; size_t = unsigned int]':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32:   required from 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56:   required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49:   required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73:   required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys ...>::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<NextTy>) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects<llvm::StructLayout, long long unsigned int>; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40:   required from 'T* llvm::TrailingObjects<BaseTy, TrailingTys>::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42:   required from 'llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::~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<T, <anonymous> >::pop_back() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = 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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42:   required from 'llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::~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<T, <anonymous> >::pop_back() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = 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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
/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<Signedness> 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<Signedness> getSignedness() const;
      |   ^~~
/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/.buildlink/include/llvm/IR/DebugInfoMetadata.h:969:8: error: 'optional' in namespace 'std' does not name a template type
  969 |   std::optional<unsigned> 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<unsigned> DWARFAddressSpace;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:22: error: 'std::optional' has not been declared
  974 |                 std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                      ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:30: error: expected ',' or '...' before '<' token
  974 |                 std::optional<unsigned> 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<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:24: error: expected ',' or '...' before '<' token
  984 |           std::optional<unsigned> 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<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:24: error: expected ',' or '...' before '<' token
  996 |           std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                        ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1013:13: error: 'std::optional' has not been declared
 1013 |        std::optional<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:46: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
  989 |                    DWARFAddressSpace, Flags, ExtraData, Annotations.get(),
      |                                              ^~~~~~~~~
      |                                              getExtraData
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:989:57: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
  989 |                    DWARFAddressSpace, Flags, ExtraData, Annotations.get(),
      |                                                         ^~~~~~~~~~~
      |                                                         getAnnotations
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:20: error: invalid use of member 'llvm::Metadata::Storage' in static member function
  990 |                    Storage, ShouldCreate);
      |                    ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here
   72 |   unsigned char Storage : 7;
      |                 ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:29: error: 'ShouldCreate' was not declared in this scope
  990 |                    Storage, ShouldCreate);
      |                             ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIDerivedType llvm::DIDerivedType::cloneImpl() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1004:9: error: 'getDWARFAddressSpace' was not declared in this scope
 1004 |         getDWARFAddressSpace(), getFlags(), getExtraData(), getAnnotations());
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                           ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                           ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getDistinct(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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/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_printer.c:2:
/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_printer.c:2:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/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/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                 ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:22:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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,
      |   ^~~~~~~~~~~~~~~~~
[ 40%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_reordering.c.o
/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/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/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_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/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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: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;
      |           ^~~~~
[ 40%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_sample.c.o
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1383:15: error: 'optional' in namespace 'std' does not name a template type
 1383 |   static std::optional<DebugEmissionKind> 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<DebugEmissionKind> 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<DebugNameTableKind> 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<DebugNameTableKind> getNameTableKind(StringRef Str);
      |          ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:8: error: 'optional' in namespace 'std' does not name a template type
 1670 |   std::optional<StringRef> 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<StringRef> 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<const DILocation *>
      |               ^~~~~~~~
/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<const DILocation *>
      |          ^~~
/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<const DILocation *>
      |               ^~~~~~~~
/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<const DILocation *>
      |          ^~~
/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<unsigned> 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<unsigned> encodeDiscriminator(unsigned BD, unsigned DF,
      |          ^~~
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_reordering.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:11:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:11:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c: In function 'isl_reordering_dup':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:56:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
   56 |  for (i = 0; i < dup->len; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c: In function 'isl_parameter_alignment_reordering':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:129:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  129 |  for (i = 0; i < alignee->nparam; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:135:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  135 |   for (j = 0; j < aligner->nparam; ++j) {
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:142:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  142 |   if (j < aligner->nparam) {
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c: In function 'isl_reordering_extend':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:261:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  261 |  for (i = 0; i < exp->len; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:263:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  263 |  for (i = exp->len; i < res->len; ++i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c: In function 'isl_reordering_dump':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_reordering.c:310:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  310 |  for (i = 0; i < exp->len; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<const DILocation *>
      |      ^~~~~~~~
/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<const DILocation *>
      | ^~~
/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<const DILocation *>
      |      ^~~~~~~~
/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<const DILocation *>
      | ^~~
/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<uint64_t> 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<uint64_t> 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<DIBasicType::Signedness> 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<DIBasicType::Signedness> 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<StringRef> 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<StringRef> 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<SignedOrUnsignedConstant> 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<SignedOrUnsignedConstant> 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<FragmentInfo> 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<FragmentInfo> 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<FragmentInfo> 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<FragmentInfo> 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<const DIExpression *>
      |               ^~~~~~~~
/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<const DIExpression *>
      |          ^~~
/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<DIExpression *>
      |               ^~~~~~~~
/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<DIExpression *>
      |          ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIExpression::DIExpression(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef<long long unsigned int>)':
/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/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_sample.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:10:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DIExpression::isFragment() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2788:36: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'?
 2788 |   bool isFragment() const { return getFragmentInfo().has_value(); }
      |                                    ^~~~~~~~~~~~~~~
      |                                    FragmentInfo
In file included from /pbulk/work/devel/polly/work/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_sample.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/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/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'interval_sample':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:100:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  100 |  for (i = 1; i < bset->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:107:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  107 |  if (i < bset->n_ineq) {
      |        ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'tab_equalities':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:165:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  165 |  if (n_eq == tab->n_var)
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:171:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  171 |  for (i = 0, j = 0; i < tab->n_con; ++i) {
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:174:51: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  174 |   if (tab->con[i].index >= 0 && tab->con[i].index >= tab->n_dead)
      |                                                   ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:176:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  176 |   if (i < bset->n_eq)
      |         ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'initial_basis':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:205:38: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  205 |  if (tab->empty || n_eq == 0 || n_eq == tab->n_var)
      |                                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'greedy_search':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:296:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  296 |   if (++level >= tab->n_var - tab->n_unbounded)
      |               ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'isl_tab_sample':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:410:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  410 |  if (tab->n_unbounded == tab->n_var) {
      |                       ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:497:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  497 |   if (level + tab->n_unbounded < dim - 1) {
      |                                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'plug_in':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:712:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  712 |  for (i = 0; i < sample->size; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:716:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  716 |  for (i = 0; i < T->n_col - 1; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'shift_cone':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:800:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  800 |  for (i = 0; i < cone->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'vec_sum_of_neg':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:999:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  999 |  for (i = 0; i < v->size; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'tab_shift_cone':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:1037:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
 1037 |  for (i = 0; i < bset->n_ineq; ++i) {
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'gbr_sample':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:1140:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 1140 |  if (cone->n_eq < dim)
      |                 ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'basic_set_sample':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:1168:41: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'isl_size' {aka 'int'} [-Wsign-compare]
 1168 |  if (bset->sample && bset->sample->size == 1 + dim) {
      |                                         ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:1153:18: warning: variable 'ctx' set but not used [-Wunused-but-set-variable]
 1153 |  struct isl_ctx *ctx;
      |                  ^~~
[ 40%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_scan.c.o
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3516:48: error: 'nullopt' is not a member of 'std'
 3516 |               ArrayRef<Metadata *> 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<llvm::ValueAsMetadata*>)':
/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<FragmentInfo> 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<FragmentInfo> 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> FragmentInfo,
      |                      ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:30: error: expected ',' or '...' before '<' token
 3740 |                 std::optional<FragmentInfo> 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<FragmentInfo> 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<FragmentInfo> getFragment() const { return Fragment; }
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:24: error: class 'llvm::DebugVariable' does not have any field named 'Fragment'
 3742 |       : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {}
      |                        ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3742:45: error: expected primary-expression before ')' token
 3742 |       : Variable(Var), Fragment(FragmentInfo), InlinedAt(InlinedAt) {}
      |                                             ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3739:3: warning: 'llvm::DebugVariable::InlinedAt' is initialized with itself [-Winit-self]
 3739 |   DebugVariable(const DILocalVariable *Var,
      |   ^~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DebugVariable::DebugVariable(const llvm::DILocalVariable*, const llvm::DIExpression*, const llvm::DILocation*)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:9: error: class 'llvm::DebugVariable' does not have any field named 'Fragment'
 3747 |         Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt),
      |         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:35: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'?
 3747 |         Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt),
      |                                   ^~~~~~~~~~~~~~~
      |                                   FragmentInfo
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3747:60: error: 'nullopt' is not a member of 'std'
 3747 |         Fragment(DIExpr ? DIExpr->getFragmentInfo() : std::nullopt),
      |                                                            ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::DebugVariable::FragmentInfo llvm::DebugVariable::getFragmentOrDefault() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3755:12: error: 'Fragment' was not declared in this scope
 3755 |     return Fragment.value_or(DefaultFragment);
      |            ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/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_scan.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:1,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_scan.c:10:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
/pbulk/work/devel/polly/work/.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<llvm::DebugVariable>::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<llvm::DebugVariable>::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, <brace-enclosed initializer list>, 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 '<brace-enclosed initializer list>' 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<llvm::DebugVariable>::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<FragmentInfo> 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<FragmentInfo> Fragment = D.getFragment();
      |           ^~~
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_scan.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3789:9: error: 'Fragment' was not declared in this scope
 3789 |     if (Fragment)
      |         ^~~~~~~~
/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_scan.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_blk.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_ctx_private.h:2,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_scan.c:10:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
In file included from /pbulk/work/devel/polly/work/.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<RoundingMode> 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<RoundingMode> 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<StringRef> 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<StringRef> 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<fp::ExceptionBehavior> 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<fp::ExceptionBehavior> 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<StringRef> 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<StringRef> convertExceptionBehaviorToStr(fp::ExceptionBehavior);
      | ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/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<Type *> 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<Type *> 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<Function *> 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<Function *> 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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>'
/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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>' 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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>':
/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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>'
  119 |   static_assert(TypesAreDistinct<PTs...>::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<uint64_t> 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<uint64_t> 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<DIExpression::FragmentInfo> 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<DIExpression::FragmentInfo> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<RoundingMode> 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<RoundingMode> 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<fp::ExceptionBehavior> 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<fp::ExceptionBehavior> 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/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
[ 40%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule.c.o
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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44:   required from 'bool llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::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<ReturnT, ParamTs>::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::AdjustedParamT<ParamTs>...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::CallPtrT = void (*)(void*, llvm::StringRef)]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28:   required from 'R llvm::unique_function<R(P ...)>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44:   required from 'bool llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::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<ReturnT, ParamTs>::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::AdjustedParamT<ParamTs>...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::CallPtrT = void (*)(void*, llvm::StringRef)]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28:   required from 'R llvm::unique_function<R(P ...)>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
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_aff_private.h:8,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31: warning: "snprintf" redefined
   31 | #define snprintf _snprintf
      | 
In file included from /usr/include/stdio.h:595,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/ctx.h:13,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule.c:14:
/usr/include/ssp/stdio.h:61: note: this is the location of the previous definition
   61 | #define snprintf(str, len, ...) \
      | 
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_private.h:8,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint32_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:223:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  223 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_ulong_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:229:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  229 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_siomath_uint64_to_digits':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:211:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  211 |    if (i >= (sizeof(num) + sizeof(mp_digit) - 1) /        \
      |          ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:235:2: note: in expansion of macro 'ISL_SIOIMATH_TO_DIGITS'
  235 |  ISL_SIOIMATH_TO_DIGITS(num, digits, *used);
      |  ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_siarg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:286:62: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  286 |   num = (arg == LONG_MIN) ? ((unsigned long) LONG_MAX) + 1 : -arg;
      |                                                              ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_si64arg_src':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:307:59: warning: operand of '?:' changes signedness from 'int64_t' {aka 'long long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare]
  307 |   num = (arg == INT64_MIN) ? ((uint64_t) INT64_MAX) + 1 : -arg;
      |                                                           ^~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_d':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:520:16: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
  520 |  for (i = 0; i < big->used; ++i)
      |                ^
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build/lib/External/isl/isl_config.h:56,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:17,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_private.h:8,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_get_str':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_config_post.h:31:18: warning: implicit declaration of function '_snprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
   31 | #define snprintf _snprintf
      |                  ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:541:3: note: in expansion of macro 'snprintf'
  541 |   snprintf(result, 12, "%" PRIi32, isl_sioimath_get_small(val));
      |   ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_aff_private.h:8,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule.c:16:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_add_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:596:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  596 |      (rhs <= (uint64_t) INT64_MAX - (uint64_t) ISL_SIOIMATH_SMALL_MAX)) {
      |           ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_sub_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:619:11: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  619 |      (rhs < (uint64_t) INT64_MIN - (uint64_t) ISL_SIOIMATH_SMALL_MIN)) {
      |           ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_pow_ui':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:785:22: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
  785 |    if ((MP_SMALL_MIN <= rhs) && (rhs <= MP_SMALL_MAX)) {
      |                      ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h: In function 'isl_sioimath_hash':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_int_sioimath.h:1160:17: warning: comparison of integer expressions of different signedness: 'int' and 'mp_size' {aka 'unsigned int'} [-Wsign-compare]
 1160 |   for (i = 0; i < used * sizeof(mp_digit); i += 1)
      |                 ^
[ 43%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule_band.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c: In function 'isl_set_sample_point':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_sample.c:1331:9: warning: 'pnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1331 |  return pnt;
      |         ^~~
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<polly::Scop, llvm::PreservedAnalyses, llvm::AnalysisManager<polly::Scop, polly::ScopStandardAnalysisResults&>::Invalidator, polly::ScopStandardAnalysisResults&>]':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManagerImpl.h:69:27:   required from 'llvm::AnalysisManager<IRUnitT, ExtraArgTs>::ResultConceptT& llvm::AnalysisManager<IRUnitT, ExtraArgTs>::getResultImpl(llvm::AnalysisKey*, IRUnitT&, ExtraArgTs ...) [with IRUnitT = polly::Scop; ExtraArgTs = {polly::ScopStandardAnalysisResults&}; llvm::AnalysisManager<IRUnitT, ExtraArgTs>::ResultConceptT = llvm::detail::AnalysisResultConcept<polly::Scop, llvm::PreservedAnalyses, llvm::AnalysisManager<polly::Scop, polly::ScopStandardAnalysisResults&>::Invalidator>]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:778:9:   required from 'typename PassT::Result& llvm::AnalysisManager<IRUnitT, ExtraArgTs>::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<polly::Scop, llvm::PreservedAnalyses, llvm::AnalysisManager<polly::Scop, polly::ScopStandardAnalysisResults&>::Invalidator, polly::ScopStandardAnalysisResults&>]':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManagerImpl.h:75:24:   required from 'llvm::AnalysisManager<IRUnitT, ExtraArgTs>::ResultConceptT& llvm::AnalysisManager<IRUnitT, ExtraArgTs>::getResultImpl(llvm::AnalysisKey*, IRUnitT&, ExtraArgTs ...) [with IRUnitT = polly::Scop; ExtraArgTs = {polly::ScopStandardAnalysisResults&}; llvm::AnalysisManager<IRUnitT, ExtraArgTs>::ResultConceptT = llvm::detail::AnalysisResultConcept<polly::Scop, llvm::PreservedAnalyses, llvm::AnalysisManager<polly::Scop, polly::ScopStandardAnalysisResults&>::Invalidator>]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:778:9:   required from 'typename PassT::Result& llvm::AnalysisManager<IRUnitT, ExtraArgTs>::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
[ 43%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule_constraints.c.o
[ 43%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule_node.c.o
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:479:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  479 |  [isl_sc_key_validity] = "validity",
      |                          ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:480:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  480 |  [isl_sc_key_coincidence] = "coincidence",
      |                             ^~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:481:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  481 |  [isl_sc_key_condition] = "condition",
      |                           ^~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:482:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  482 |  [isl_sc_key_conditional_validity] = "conditional_validity",
      |                                      ^~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:483:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  483 |  [isl_sc_key_proximity] = "proximity",
      |                           ^~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:484:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  484 |  [isl_sc_key_domain] = "domain",
      |                        ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:485:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  485 |  [isl_sc_key_context] = "context",
      |                         ^~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:564:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/extract_key.c: In function 'extract_key':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/extract_key.c:27:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   27 |   isl_stream_error(s, tok, "expecting key");
      |                            ^~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:18:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c: In function 'isl_stream_read_schedule_constraints':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:631:42: warning: implicit conversion from 'enum isl_sc_key' to 'enum isl_edge_type' [-Wenum-conversion]
  631 |    sc = isl_schedule_constraints_set(sc, key, constraints);
      |                                          ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:641:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  641 |   isl_stream_error(s, NULL, "unexpected extra elements");
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:18:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:646:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  646 |   isl_stream_error(s, NULL, "no domain specified");
      |                             ^~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_constraints.c:18:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/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<llvm::Metadata *> 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<llvm::Metadata *> 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<int> 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<int> 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<MemoryLocation> 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<MemoryLocation> 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<MemoryLocation> 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<MemoryLocation> 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/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<const llvm::Value*, bool, 8>':
/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<std::pair<llvm::AACacheLoc, llvm::AACacheLoc>, 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/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<MemoryLocation> &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<MemoryLocation> &OptLoc) {
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:47: error: expected ',' or '...' before '<' token
  498 |                            const std::optional<MemoryLocation> &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<MemoryLocation> &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<MemoryLocation> &OptLoc,
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:47: error: expected ',' or '...' before '<' token
  592 |                            const std::optional<MemoryLocation> &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<MemoryLocation> &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<MemoryLocation> &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<MemoryLocation> &OptLoc) {
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:47: error: expected ',' or '...' before '<' token
  641 |                            const std::optional<MemoryLocation> &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);
      |                                ^~~~~~
[ 43%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule_read.c.o
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<NodeRef, std::optional<ChildItTy>>;
      |                                                ^~~~~~~~
/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<NodeRef, std::optional<ChildItTy>>;
      |                                                         ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:15: error: 'StackElement' was not declared in this scope
  103 |   std::vector<StackElement> VisitStack;
      |               ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 1 is invalid
  103 |   std::vector<StackElement> 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<GraphT, SetType, ExtStorage, GT>::df_iterator(llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::NodeRef)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:16: error: request for member 'push_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::df_iterator(llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::toNext()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:125:33: error: request for member 'back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<ChildItTy> &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<ChildItTy> &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<ChildItTy> &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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  126 |       std::optional<ChildItTy> &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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>& llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::skipChildren()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:186:16: error: request for member 'pop_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::NodeRef llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::getPath(unsigned int) const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:212:56: error: invalid types 'const int[unsigned int]' for array subscript
  212 |   NodeRef getPath(unsigned n) const { return VisitStack[n].first; }
      |                                                        ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Dominators.h:36,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/RegionInfo.h:45,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:53,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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<DomTreeT>::RootsT llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::FindRoots(const DomTreeT&, llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::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<NodeOrderMap> 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<NodeOrderMap> 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<NodeOrderMap> SuccOrder;
      |                                   ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:35:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   35 |  [isl_schedule_key_child] = "child",
      |                             ^~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:36:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   36 |  [isl_schedule_key_coincident] = "coincident",
      |                                  ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:37:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   37 |  [isl_schedule_key_context] = "context",
      |                               ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:38:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   38 |  [isl_schedule_key_contraction] = "contraction",
      |                                   ^~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:39:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   39 |  [isl_schedule_key_domain] = "domain",
      |                              ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:40:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   40 |  [isl_schedule_key_expansion] = "expansion",
      |                                 ^~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:41:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   41 |  [isl_schedule_key_extension] = "extension",
      |                                 ^~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:42:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   42 |  [isl_schedule_key_filter] = "filter",
      |                              ^~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:43:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   43 |  [isl_schedule_key_guard] = "guard",
      |                             ^~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:44:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   44 |  [isl_schedule_key_leaf] = "leaf",
      |                            ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:45:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   45 |  [isl_schedule_key_mark] = "mark",
      |                            ^~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:46:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   46 |  [isl_schedule_key_options] = "options",
      |                               ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:47:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   47 |  [isl_schedule_key_permutable] = "permutable",
      |                                  ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:48:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   48 |  [isl_schedule_key_schedule] = "schedule",
      |                                ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:49:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   49 |  [isl_schedule_key_sequence] = "sequence",
      |                                ^~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:50:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   50 |  [isl_schedule_key_set] = "set",
      |                           ^~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:59:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/extract_key.c: In function 'extract_key':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/extract_key.c:27:28: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   27 |   isl_stream_error(s, tok, "expecting key");
      |                            ^~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c: In function 'read_context':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:85:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   85 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c: In function 'read_domain':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:136:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  136 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c: In function 'read_extension':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:262:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  262 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c: In function 'read_filter':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:313:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  313 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c: In function 'read_guard':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:364:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  364 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c: In function 'read_mark':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:415:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  415 |   isl_stream_error(s, NULL, "unexpected EOF");
      |                             ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c: In function 'read_band':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:532:31: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  532 |     isl_stream_error(s, NULL, "unexpected EOF");
      |                               ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c: In function 'isl_stream_read_schedule_tree':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:669:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  669 |   isl_stream_error(s, NULL, "missing key");
      |                             ^~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:726:29: warning: passing argument 3 of 'isl_stream_error' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  726 |   isl_stream_error(s, NULL, "unexpected extra elements");
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_read.c:4:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/include/isl/stream.h:61:8: note: expected 'char *' but argument is of type 'const char *'
   61 |  char *msg);
      |  ~~~~~~^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/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<ConstantRange>
      |        ^~~~~~~~
/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<ConstantRange>
      |   ^~~
/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<ConstantRange> 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<ConstantRange> 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<MDMapT> 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<MDMapT> 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<MDMapT> &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<MDMapT> &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<Metadata *> 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<Metadata *> getMappedMD(const Metadata *MD) const {
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'bool llvm::ValueMap<KeyT, ValueT, Config>::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<KeyT, ValueT, Config>::MDMapT& llvm::ValueMap<KeyT, ValueT, Config>::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<KeyT, ValueT, Config>::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<SCEV::NoWrapFlags>
      |        ^~~~~~~~
[ 45%] Building CXX object lib/CMakeFiles/obj.Polly.dir/Analysis/ScopDetection.cpp.o
/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<SCEV::NoWrapFlags>
      |   ^~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |        ^~~~~~~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |   ^~~
/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<bool> 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<bool> 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<bool> 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<bool> 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<MonotonicPredicateType>
      |        ^~~~~~~~
/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<MonotonicPredicateType>
      |   ^~~
/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<LoopInvariantPredicate>
      |        ^~~~~~~~
/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<LoopInvariantPredicate>
      |   ^~~
/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<LoopInvariantPredicate>
      |        ^~~~~~~~
/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<LoopInvariantPredicate>
      |   ^~~
/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<LoopInvariantPredicate>
      |        ^~~~~~~~
/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<LoopInvariantPredicate>
      |   ^~~
/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<APInt> 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<APInt> 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<const SCEV *>
      |        ^~~~~~~~
/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<const SCEV *>
      |   ^~~
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::PointerIntPair<llvm::Value*, 1>, 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<ExitLimit> 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<ExitLimit> 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<ScalarEvolution::ExitLimit>
      |        ^~~~~~~~
/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<ScalarEvolution::ExitLimit>
      |   ^~~
/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<MonotonicPredicateType>
      |        ^~~~~~~~
/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<MonotonicPredicateType>
      |   ^~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |        ^~~~~~~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:1109:18: error: 'nullopt' is not a member of 'std'
 1109 |             std::nullopt);
      |                  ^~~~~~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 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/Analysis/ScalarEvolutionExpressions.h: In member function 'llvm::ArrayRef<const llvm::SCEV*> 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/polly-16.0.6.src/lib/External/isl/isl_map.c:7236:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_lexopt_templ.c: In function 'basic_map_partial_lexopt_pw_multi_aff':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_lexopt_templ.c:92:11: warning: 'all_empty' may be used uninitialized in this function [-Wmaybe-uninitialized]
   92 |  isl_set *all_empty;
      |           ^~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_map_partial_lexopt_aligned_pw_multi_aff':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:3975:9: warning: 'todo' may be used uninitialized in this function [-Wmaybe-uninitialized]
 3975 |  return set_from_map(isl_map_intersect(set_to_map(set1),
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3976 |            set_to_map(set2)));
      |            ~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c:7262:11: note: 'todo' was declared here
 7262 |  isl_set *todo;
      |           ^~~~
[ 48%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule_tree.c.o
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<const void*, llvm::ImmutablePass*, 8>':
/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/polly-16.0.6.src/lib/External/isl/isl_map.c:7321:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map.c: In function 'isl_map_partial_lexopt_aligned':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_map_lexopt_templ.c:92:11: warning: 'all_empty' may be used uninitialized in this function [-Wmaybe-uninitialized]
   92 |  isl_set *all_empty;
      |           ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<polly::ScopArrayInfo*, llvm::detail::DenseSetEmpty, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void>, llvm::detail::DenseSetPair<polly::ScopArrayInfo*> >':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:55:17:   required from 'class llvm::detail::DenseSetImpl<polly::ScopArrayInfo*, llvm::SmallDenseMap<polly::ScopArrayInfo*, llvm::detail::DenseSetEmpty, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void>, llvm::detail::DenseSetPair<polly::ScopArrayInfo*> >, llvm::DenseMapInfo<polly::ScopArrayInfo*, void> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseSet.h:286:7:   required from 'class llvm::SmallDenseSet<polly::ScopArrayInfo*, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:293:12:   required from 'class llvm::SetVector<polly::ScopArrayInfo*, llvm::SmallVector<polly::ScopArrayInfo*, 2>, llvm::SmallDenseSet<polly::ScopArrayInfo*, 2, llvm::DenseMapInfo<polly::ScopArrayInfo*, void> > >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/SetVector.h:300:7:   required from 'class llvm::SmallSetVector<polly::ScopArrayInfo*, 2>'
/pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:392:38:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/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<std::string> 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<std::string> name;
      |   ^~~
/pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h: In member function 'llvm::StringRef polly::Scop::getName()':
/pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2049:10: error: 'name' was not declared in this scope; did you mean 'tzname'?
 2049 |     if (!name)
      |          ^~~~
      |          tzname
/pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopInfo.h:2051:13: error: 'name' was not declared in this scope; did you mean 'tzname'?
 2051 |     return *name;
      |             ^~~~
      |             tzname
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_schedule_tree.c:31:
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_schedule_tree_list_grow':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:101:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  101 |  if (list->ref == 1 && list->n + n <= list->size)
      |                                    ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                  ^~
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:115:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  115 |  if (list->n + n <= list->size && list->size < new_size)
      |                                              ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_schedule_tree_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_schedule_tree_list_insert':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:207:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
  207 |  if (pos > list->n)
      |          ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:211:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  211 |  if (list->ref == 1 && list->size > list->n) {
      |                                   ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:212:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  212 |   for (i = list->n; i > pos; --i)
      |                       ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:220:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
  220 |  for (i = 0; i < pos; ++i)
      |                ^
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c: In function 'isl_schedule_tree_list_concat':
/pbulk/work/devel/polly/work/polly-16.0.6.src/lib/External/isl/isl_list_templ.c:647:45: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  647 |  if (list1->ref == 1 && list1->n + list2->n <= list1->size)
      |                                             ^~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/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
[ 48%] Building C object lib/External/CMakeFiles/PollyISL.dir/isl/isl_scheduler.c.o
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<CostType> 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<CostType> getValue() const {
      |   ^~~
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopPass.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/DependenceInfo.h:25,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/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<Instruction *> 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<Instruction *> 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<Value *> 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<Value *> 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<Value *> 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<Value *> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<FastMathFlags> 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<FastMathFlags> 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<FastMathFlags> 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<FastMathFlags> FMF,
      |                                                     ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1326:12: error: 'std::optional' has not been declared
 1326 |       std::optional<FastMathFlags> FMF,
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1326:20: error: expected ',' or '...' before '<' token
 1326 |       std::optional<FastMathFlags> FMF,
      |                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1383:12: error: 'std::optional' has not been declared
 1383 |       std::optional<uint32_t> 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<uint32_t> 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<uint32_t> 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<uint32_t> 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<int> 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<const Value *> 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<Instruction *> 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<Instruction *> 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<Value *> 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<Value *> 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<Value *> 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<Value *> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<FastMathFlags> FMF,
      |                                   ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1833:43: error: expected ',' or '...' before '<' token
 1833 |                              std::optional<FastMathFlags> FMF,
      |                                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1840:12: error: 'std::optional' has not been declared
 1840 |       std::optional<FastMathFlags> FMF,
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1840:20: error: expected ',' or '...' before '<' token
 1840 |       std::optional<FastMathFlags> FMF,
      |                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1864:12: error: 'std::optional' has not been declared
 1864 |       std::optional<uint32_t> AtomicElementSize) const = 0;
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1864:20: error: expected ',' or '...' before '<' token
 1864 |       std::optional<uint32_t> 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<uint32_t> AtomicCpySize) const = 0;
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:1870:20: error: expected ',' or '...' before '<' token
 1870 |       std::optional<uint32_t> 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<Instruction *>
      |        ^~~~~~~~
/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<Instruction *>
      |   ^~~
/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<Value *>
      |        ^~~~~~~~
/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<Value *>
      |   ^~~
/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<Value *> 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<Value *> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned>
      |        ^~~~~~~~
/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<unsigned>
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2431:35: error: 'std::optional' has not been declared
 2431 |                              std::optional<FastMathFlags> FMF,
      |                                   ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2431:43: error: expected ',' or '...' before '<' token
 2431 |                              std::optional<FastMathFlags> FMF,
      |                                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2442:12: error: 'std::optional' has not been declared
 2442 |       std::optional<FastMathFlags> FMF,
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2442:20: error: expected ',' or '...' before '<' token
 2442 |       std::optional<FastMathFlags> FMF,
      |                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2485:12: error: 'std::optional' has not been declared
 2485 |       std::optional<uint32_t> AtomicElementSize) const override {
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2485:20: error: expected ',' or '...' before '<' token
 2485 |       std::optional<uint32_t> 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<uint32_t> AtomicCpySize) const override {
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h:2494:20: error: expected ',' or '...' before '<' token
 2494 |       std::optional<uint32_t> AtomicCpySize) const override {
      |                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::InstructionCost llvm::TargetTransformInfo::Model<T>::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<T>::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);
      |                                          ^~~~~~~~
--- lib/CMakeFiles/obj.Polly.dir/Analysis/DependenceInfo.cpp.o ---
*** [lib/CMakeFiles/obj.Polly.dir/Analysis/DependenceInfo.cpp.o] Error code 1

make[2]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'llvm::Type* llvm::TargetTransformInfo::Model<T>::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);
      |                                           ^~~~~~~~~~~~~~~~~
--- lib/External/CMakeFiles/PollyISL.dir/all ---
*** [lib/External/CMakeFiles/PollyISL.dir/all] Error code 6

make[1]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/TargetTransformInfo.h: In member function 'void llvm::TargetTransformInfo::Model<T>::getMemcpyLoopResidualLoweringType(llvm::SmallVectorImpl<llvm::Type*>&, 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<TargetTransformInfo> 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<TargetTransformInfo> TTI;
      |   ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassRegistry.h:19,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<llvm::Region*, int, 4, llvm::DenseMapInfo<llvm::Region*, void>, llvm::detail::DenseMapPair<llvm::Region*, int> >':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PriorityWorklist.h:61:9:   required from 'class llvm::PriorityWorklist<llvm::Region*, llvm::SmallVector<llvm::Region*, 4>, llvm::SmallDenseMap<llvm::Region*, int, 4, llvm::DenseMapInfo<llvm::Region*, void>, llvm::detail::DenseMapPair<llvm::Region*, int> > >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PriorityWorklist.h:255:7:   required from 'class llvm::SmallPriorityWorklist<llvm::Region*, 4>'
/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<Align> Alignment = std::nullopt);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:24: error: expected ',' or '...' before '<' token
  100 |           std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:33: error: expected ',' or '...' before '<' token
  114 |                    std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                    ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:28: error: expected ',' or '...' before '<' token
  128 |               std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                       ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:31: error: expected ',' or '...' before '<' token
  152 |                  std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                     ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:29: error: expected ',' or '...' before '<' token
  158 |                std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFile(const llvm::Twine&, bool, bool, bool, int)'
  100 |           std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getOpenFileSlice(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, int64_t, bool, int)'
  114 |                    std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getOpenFile(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, bool, bool, int)'
  128 |               std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFileOrSTDIN(const llvm::Twine&, bool, bool, int)'
  152 |                  std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)'
  158 |                std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:24: error: expected ',' or '...' before '<' token
  204 |           std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                     ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:29: error: expected ',' or '...' before '<' token
  210 |                std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                              ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:38: error: expected ',' or '...' before '<' token
  220 |                         std::optional<Align> 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<std::unique_ptr<llvm::WritableMemoryBuffer> > llvm::WritableMemoryBuffer::getFile(const llvm::Twine&, bool, int)'
  204 |           std::optional<Align> 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<std::unique_ptr<llvm::WritableMemoryBuffer> > llvm::WritableMemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)'
  210 |                std::optional<Align> 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> llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t, const llvm::Twine&, int)'
  220 |                         std::optional<Align> 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/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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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: 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<uint64_t> 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<uint64_t> 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<uint64_t> 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<uint64_t> 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<uint64_t> 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<uint64_t> 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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<uint64_t> 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<uint64_t> H) { Hotness = H; }
      |                                                          ^
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 <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                    ^~~~~~~
/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 <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                              ^~~
/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 <typename... Ts> struct DenseMapInfo<std::variant<Ts...>> {
      |                                                                 ^~
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 <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        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 <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_integral
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:70: error: template argument 1 is invalid
   64 | template <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:64:73: error: expected unqualified-id before '>' token
   64 | template <typename T, typename = std::enable_if_t<std::is_integral_v<T>>>
      |                                                                         ^
/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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_unsigned
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:70: error: template argument 1 is invalid
  109 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:109:73: error: expected unqualified-id before '>' token
  109 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                         ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        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 <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                        ^~~~~~~~~~~~~
      |                                                        is_unsigned
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:70: error: template argument 1 is invalid
  348 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/bit.h:348:73: error: expected unqualified-id before '>' token
  348 | template <typename T, typename = std::enable_if_t<std::is_unsigned_v<T>>>
      |                                                                         ^
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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<T>,
      |                      ^~~~~~~~~~~~~
      |                      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<T>,
      |                                     ^
/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<T>,
      |                                      ^
/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<std::is_unsigned_v<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<std::is_unsigned_v<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<std::is_unsigned_v<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<std::is_unsigned_v<T>, T> SaturatingAdd(T X, T Y, T Z,
      |                                       ^
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<ItTy, FuncTy, ReferenceTy>::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<llvm::BasicBlock* (*&)(llvm::Value*)>::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<llvm::BasicBlock* (*&)(llvm::Value*)>::type {aka llvm::BasicBlock* (*)(llvm::Value*)}
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator<ItTy, FuncTy, ReferenceTy>::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<const llvm::BasicBlock* (*&)(const llvm::Value*)>::type' {aka 'const llvm::BasicBlock* (*)(const llvm::Value*)'} to 'int' [-fpermissive]
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<const llvm::Value*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32:   required from 'llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector<const llvm::Value*>; KeyInfoT = llvm::DenseMapInfo<llvm::Instruction*, void>; BucketT = llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >]'
/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<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>' 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<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<const llvm::Value*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32:   required from 'llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector<const llvm::Value*>; KeyInfoT = llvm::DenseMapInfo<llvm::Instruction*, void>; BucketT = llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >]'
/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<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
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<T, <anonymous> >::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<T> &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<T> &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<T> &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<decltype(F(*O))> {
      |             ^~~~~~~~
/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<decltype(F(*O))> {
      |        ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLForwardCompat.h:47:21: error: expected initializer before '<' token
   47 |     -> std::optional<decltype(F(*O))> {
      |                     ^
/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<T> &&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<T> &&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<T> &&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<T> &&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<T> &&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<T> &&O, const Function &F)
      |                                                                ^
      |                                                                ;
   57 |     -> std::optional<decltype(F(*std::move(O)))> {
      |     ~~                                                          
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<T>::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<T>::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/PassRegistry.h:19,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/PassSupport.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Pass.h:348,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/PolyhedralInfo.h:19,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/PolyhedralInfo.cpp:21:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56:   required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49:   required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73:   required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys ...>::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<NextTy>) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects<llvm::StructLayout, long long unsigned int>; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40:   required from 'T* llvm::TrailingObjects<BaseTy, TrailingTys>::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion
  399 |   static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue),
      |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 2; size_t = unsigned int]':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32:   required from 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56:   required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49:   required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73:   required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys ...>::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<NextTy>) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects<llvm::StructLayout, long long unsigned int>; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40:   required from 'T* llvm::TrailingObjects<BaseTy, TrailingTys>::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42:   required from 'llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::~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<T, <anonymous> >::pop_back() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = 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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42:   required from 'llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::~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<T, <anonymous> >::pop_back() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = 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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
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/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<PointerTy, IntBits, IntType, PtrTraits, Info>&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerIntPair.h:236:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
  236 |   if constexpr (I == 0)
      |      ^~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:49,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:12,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint16_t llvm::ByteSwap_16(uint16_t)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:51:60: error: 'byteswap' is not a member of 'llvm'
   51 | inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint32_t llvm::ByteSwap_32(uint32_t)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:54:60: error: 'byteswap' is not a member of 'llvm'
   54 | inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'uint64_t llvm::ByteSwap_64(uint64_t)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:57:60: error: 'byteswap' is not a member of 'llvm'
   57 | inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); }
      |                                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'unsigned char llvm::sys::getSwappedBytes(unsigned char)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:69:80: error: 'byteswap' is not a member of 'llvm'
   69 | inline unsigned char      getSwappedBytes(unsigned char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h: In function 'signed char llvm::sys::getSwappedBytes(signed char)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/SwapByteOrder.h:70:80: error: 'byteswap' is not a member of 'llvm'
   70 | inline   signed char      getSwappedBytes( signed  char      C) { return llvm::byteswap(C); }
      |                                                                                ^~~~~~~~
/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<std::is_enum<_Tp>::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<std::underlying_type_t<T>>(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/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 <typename T> hash_code hash_value(const std::optional<T> &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 <typename T> hash_code hash_value(const std::optional<T> &arg);
      |                                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:127:63: error: expected ',' or '...' before '<' token
  127 | template <typename T> hash_code hash_value(const std::optional<T> &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 <typename T> hash_code hash_value(const std::optional<T> &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 <typename T> hash_code hash_value(const std::optional<T> &arg) {
      |                                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:668:63: error: expected ',' or '...' before '<' token
  668 | template <typename T> hash_code hash_value(const std::optional<T> &arg) {
      |                                                               ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h: In function 'llvm::hash_code llvm::hash_value(int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Hashing.h:669:10: error: 'arg' was not declared in this scope
  669 |   return arg ? hash_combine(true, *arg) : hash_value(false);
      |          ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:144:24: error: 'disjunction' in namespace 'std' does not name a template type
  144 | using is_one_of = std::disjunction<std::is_same<T, Ts>...>;
      |                        ^~~~~~~~~~~
/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<std::is_same<T, Ts>...>;
      |                   ^~~
/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<std::is_base_of<T, Ts>...>;
      |                          ^~~~~~~~~~~
/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<std::is_base_of<T, Ts>...>;
      |                     ^~~
/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<bool, !is_one_of<T, Us...>::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<bool, !is_one_of<T, Us...>::value &&
      |                                              ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:55: error: template argument 2 is invalid
  155 |     : std::integral_constant<bool, !is_one_of<T, Us...>::value &&
      |                                                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:155:56: error: expected '{' before '::' token
  155 |     : std::integral_constant<bool, !is_one_of<T, Us...>::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<std::remove_pointer_t<remove_cvref_t<T>>>>
      |                       ^~~~~~~~~~~~~
      |                       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<std::remove_pointer_t<remove_cvref_t<T>>>>
      |                                                                             ^~
/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<value_type> 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<value_type> 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<value_type>,
      |                       ^~~~~~~~~~~~
      |                       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<value_type>,
      |                                              ^
/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<value_type>,
      |                                   ^
/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<value_type>,
      |                                               ^
/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<std::is_invocable_v<T, Pn...>, 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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  257 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, 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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<std::is_invocable_v<T, Pn...>, 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<std::is_invocable_v<T const, Pn...>, 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<std::is_invocable_v<T const, Pn...>, 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<std::is_invocable_v<T const, Pn...>, int> = 0>
      |                                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In constructor 'llvm::callable_detail::Callable<T, <anonymous> >::Callable(const T&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:237:26: error: class 'llvm::callable_detail::Callable<T, <anonymous> >' 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<T, <anonymous> >& llvm::callable_detail::Callable<T, <anonymous> >::operator=(const llvm::callable_detail::Callable<T, <anonymous> >&)':
/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<T, <anonymous> >& llvm::callable_detail::Callable<T, <anonymous> >::operator=(llvm::callable_detail::Callable<T, <anonymous> >&&)':
/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<T, <anonymous> >::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<T, <anonymous> >::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<T, <anonymous> >::operator llvm::callable_detail::Callable<T, <anonymous> >::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<T, <anonymous> >::operator llvm::callable_detail::Callable<T, <anonymous> >::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<remove_cvref_t<T>>;
      |                                      ^~~~~~~~~~~~
      |                                      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<remove_cvref_t<T>>;
      |                                                                   ^~
/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<remove_cvref_t<T>>;
      |                                                                     ^
/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<remove_cvref_t<FnPtrOrRef>, 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<remove_cvref_t<FnPtrOrRef>, 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<remove_cvref_t<FnPtrOrRef>, 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<std::is_invocable_v<T, Pn...>, 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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  313 |             std::enable_if_t<std::is_invocable_v<T, Pn...>, 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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<std::is_invocable_v<T, Pn...>, int> = 0>
      |                                                                  ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In static member function 'static constexpr auto llvm::callable_detail::Callable<T, true>::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<T, true>::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<T, true>::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<T, true>::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<T>,
      |                          ^~~~~~~~~~~~~~
      |                          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<T>,
      |                                          ^
/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<T>,
      |                                           ^
/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<FuncTy> 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<ContainerTy>::value)
      |      ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_common<ZipType, Iters>::test_all_equals(const llvm::detail::zip_common<ZipType, Iters>&, std::index_sequence<Ns ...>) 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<Iters>::test(const llvm::detail::zip_shortest<Iters>&, std::index_sequence<Ns ...>) 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<std::remove_const_t<
      |                     ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:935:16: note: 'std::optional' is only available from C++17 onwards
  935 |   using type = std::optional<std::remove_const_t<
      |                ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In member function 'bool llvm::detail::zip_longest_iterator<Iters>::test(const llvm::detail::zip_longest_iterator<Iters>&, std::index_sequence<Ns ...>) const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:966:13: warning: fold-expressions only available with '-std=c++17' or '-std=gnu++17'
  966 |             ...);
      |             ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:1511:24: error: 'disjunction' in namespace 'std' does not name a template type
 1511 | using is_one_of = std::disjunction<std::is_same<T, Ts>...>;
      |                        ^~~~~~~~~~~
/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<std::is_same<T, Ts>...>;
      |                   ^~~
/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<std::is_base_of<T, Ts>...>;
      |                          ^~~~~~~~~~~
/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<std::is_base_of<T, Ts>...>;
      |                     ^~~
/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<IteratorTy>::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<IteratorTy>::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<IteratorTy>::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<IteratorTy>::value) {
      |                                                              ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'decltype(auto) llvm::detail::get(const llvm::detail::result_pair<R>&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2173:6: warning: 'if constexpr' only available with '-std=c++17' or '-std=gnu++17'
 2173 |   if constexpr (i == 0) {
      |      ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In function 'bool llvm::detail::all_of_zip_predicate_first(Predicate&&, Args&& ...)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: error: 'apply' is not a member of 'std'
 2276 |     if (!std::apply([&](auto &&...args) { return P(args...); }, *it))
      |               ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h:2276:15: note: 'std::apply' is only available from C++17 onwards
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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/ArrayRef.h:323:33: warning: unnecessary parentheses in declaration of 'nullopt_t' [-Wparentheses]
  323 |     /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef<T>() {}
      |                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:323:34: error: invalid use of '::'
  323 |     /*implicit*/ MutableArrayRef(std::nullopt_t) : ArrayRef<T>() {}
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:472:65: error: expected constructor, destructor, or type conversion before ';' token
  472 |   template <typename T> ArrayRef(const T &OneElt) -> ArrayRef<T>;
      |                                                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:475:78: error: expected constructor, destructor, or type conversion before ';' token
  475 |   template <typename T> ArrayRef(const T *data, size_t length) -> ArrayRef<T>;
      |                                                                              ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:478:77: error: expected constructor, destructor, or type conversion before ';' token
  478 |   template <typename T> ArrayRef(const T *data, const T *end) -> ArrayRef<T>;
      |                                                                             ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:481:79: error: expected constructor, destructor, or type conversion before ';' token
  481 |   template <typename T> ArrayRef(const SmallVectorImpl<T> &Vec) -> ArrayRef<T>;
      |                                                                               ^
/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<T, N> &Vec) -> ArrayRef<T>;
      |                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:488:75: error: expected constructor, destructor, or type conversion before ';' token
  488 |   template <typename T> ArrayRef(const std::vector<T> &Vec) -> ArrayRef<T>;
      |                                                                           ^
/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<T, N> &Vec) -> ArrayRef<T>;
      |                                                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:495:72: error: expected constructor, destructor, or type conversion before ';' token
  495 |   template <typename T> ArrayRef(const ArrayRef<T> &Vec) -> ArrayRef<T>;
      |                                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:498:66: error: expected constructor, destructor, or type conversion before ';' token
  498 |   template <typename T> ArrayRef(ArrayRef<T> &Vec) -> ArrayRef<T>;
      |                                                                  ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:501:77: error: expected constructor, destructor, or type conversion before ';' token
  501 |   template <typename T, size_t N> ArrayRef(const T (&Arr)[N]) -> ArrayRef<T>;
      |                                                                             ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:580:70: error: expected constructor, destructor, or type conversion before ';' token
  580 |   template <class T> MutableArrayRef(T &OneElt) -> MutableArrayRef<T>;
      |                                                                      ^
/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<T>;
      |                                                                ^
/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<T> &Vec) -> MutableArrayRef<T>;
      |                                                                 ^
/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<T, N> &Vec) -> MutableArrayRef<T>;
      |                                                                ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:595:80: error: expected constructor, destructor, or type conversion before ';' token
  595 |   template <class T> MutableArrayRef(std::vector<T> &Vec) -> MutableArrayRef<T>;
      |                                                                                ^
/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<T, N> &Vec) -> MutableArrayRef<T>;
      |                                                               ^
/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<T>;
      |                                                     ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:32: error: 'optional' is not a member of 'std'
  266 | struct CastIsPossible<To, std::optional<From>> {
      |                                ^~~~~~~~
/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<To, std::optional<From>> {
      |                                         ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:266:45: error: expected unqualified-id before '>' token
  266 | struct CastIsPossible<To, std::optional<From>> {
      |                                             ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:369:16: error: 'optional' is not a member of 'std'
  369 |           std::optional<To>, 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<To>, From,
      |                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:310:8: note: provided for 'template<class To, class From, class Derived> 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<Derived, OptionalValueCast<To, From>>> {
      |                                                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:26: error: 'optional' is not a member of 'std'
  540 | struct CastInfo<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                          ^~~~~~~~
/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<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                                   ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:540:39: error: expected unqualified-id before '>' token
  540 | struct CastInfo<To, std::optional<From>> : public OptionalValueCast<To, From> {
      |                                       ^~
/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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |          ^~~~~~~~~~~~
      |          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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:595:26: error: expected primary-expression before '||' token
  595 |     std::is_pointer_v<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                          ^~
/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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                                  ^~~~~~~~~~~~~~~~~~
      |                                  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<T> || std::is_constructible_v<T, std::nullptr_t>;
      |                                                      ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:50: error: 'optional' is not a member of 'std'
  610 | template <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                  ^~~~~~~~
/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 <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Casting.h:610:60: error: expected unqualified-id before '>' token
  610 | template <typename T> struct ValueIsPresent<std::optional<T>> {
      |                                                            ^~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.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<Align> {
      |                                         ^
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/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<Align> {
      |        ^~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:13: error: declaration of 'operator==' as non-function
  307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); }
      |             ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'?
  307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); }
      |                             ^~~~~~~~~
      |                             nullptr_t
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:307:51: error: expected primary-expression before 'Rhs'
  307 | inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); }
      |                                                   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:13: error: declaration of 'operator!=' as non-function
  308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); }
      |             ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:29: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'?
  308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); }
      |                             ^~~~~~~~~
      |                             nullptr_t
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:308:51: error: expected primary-expression before 'Rhs'
  308 | inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); }
      |                                                   ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:27,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<uint32_t> Tolerance);
      |                                              ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:208:54: error: expected ',' or '...' before '<' token
  208 |   void setDiagnosticsMisExpectTolerance(std::optional<uint32_t> 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<uint64_t> Threshold);
      |                                            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/LLVMContext.h:225:52: error: expected ',' or '...' before '<' token
  225 |   void setDiagnosticsHotnessThreshold(std::optional<uint64_t> Threshold);
      |                                                    ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::MetadataAsValue*, llvm::Metadata*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>'
/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<llvm::MetadataAsValue*, llvm::Metadata*>' 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<llvm::MetadataAsValue*, llvm::Metadata*>':
/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<llvm::MetadataAsValue*, llvm::Metadata*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::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<void*, std::pair<llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>, long long unsigned int>, 4>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:289:58:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: non-constant condition for static assertion
  890 |   static_assert(isPowerOf2_64(InlineBuckets),
      |                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:890:30: error: 'constexpr' call flows off the end of the function
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>'
/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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>' 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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>':
/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<llvm::LLVMContext*, llvm::ReplaceableMetadataImpl*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<Metadata *> Ops1, ArrayRef<Metadata *> Ops2 = std::nullopt);
      |                                                                      ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h: In member function 'llvm::MutableArrayRef<llvm::MDOperand> 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::MDOperand> 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<const MDOperand *>(this) - SmallSize,
      |                      ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.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<uint64_t> 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<uint64_t> getIrrLoopHeaderWeight() const;
      |   ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<Level> 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<Level> 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<Level> 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<Level> parseLevel(char C) {
      |          ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Argument.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<unsigned> &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<unsigned> &NumElemsArg);
      |             ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:141:26: error: expected ',' or '...' before '<' token
  141 |       const std::optional<unsigned> &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<unsigned, std::optional<unsigned>> 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<unsigned, std::optional<unsigned>> 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<unsigned> 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<unsigned> 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<std::pair<unsigned, std::optional<unsigned>>> 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<std::pair<unsigned, std::optional<unsigned>>> 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<unsigned> 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<unsigned> 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<unsigned> &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<unsigned> &NumElemsArg);
      |                               ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:735:44: error: expected ',' or '...' before '<' token
  735 |                         const std::optional<unsigned> &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<uint64_t> 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<uint64_t> 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<std::pair<unsigned, std::optional<unsigned>>> 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<std::pair<unsigned, std::optional<unsigned>>> 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<unsigned> &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<unsigned> &NumElemsArg);
      |                                       ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1197:52: error: expected ',' or '...' before '<' token
 1197 |                                 const std::optional<unsigned> &NumElemsArg);
      |                                                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:40: error: 'std::optional' has not been declared
 1201 |                                   std::optional<unsigned> MaxValue);
      |                                        ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Attributes.h:1201:48: error: expected ',' or '...' before '<' token
 1201 |                                   std::optional<unsigned> 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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:38: error: 'string_view' in namespace 'std' does not name a type
  252 |   raw_ostream &operator<<(const std::string_view &Str) {
      |                                      ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:33: note: 'std::string_view' is only available from C++17 onwards
  252 |   raw_ostream &operator<<(const std::string_view &Str) {
      |                                 ^~~
/pbulk/work/devel/polly/work/.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<bool> 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<bool> HasColors;
      |           ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:47: error: 'std::nullopt_t' has not been declared
  757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t);
      |                                               ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:761:53: error: 'optional' in namespace 'std' does not name a template type
  761 | raw_ostream &operator<<(raw_ostream &OS, const std::optional<T> &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<T> &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<T> &O) {
      |                                                             ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h: In function 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:762:7: error: 'O' was not declared in this scope; did you mean 'OS'?
  762 |   if (O)
      |       ^
      |       OS
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:765:16: error: 'nullopt' is not a member of 'std'
  765 |     OS << std::nullopt;
      |                ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h: In member function 'llvm::ArrayRef<llvm::Type*> 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::Type*> 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<are_base_of<Type, Tys...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  245 |   static std::enable_if_t<are_base_of<Type, Tys...>::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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<are_base_of<Type, Tys...>::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<are_base_of<Type, Tys...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  262 |   static std::enable_if_t<are_base_of<Type, Tys...>::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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:262:59: error: expected ';' before ',' token
  262 |   static std::enable_if_t<are_base_of<Type, Tys...>::value, StructType *>
      |                                                           ^
      |                                                           ;
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:267:3: error: redeclaration of 'template<class ... Tys> int llvm::StructType::value<Tys ...>'
  267 |   }
      |   ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:245:54: note: previous declaration 'template<class ... Tys> int llvm::StructType::value<Tys ...>'
  245 |   static std::enable_if_t<are_base_of<Type, Tys...>::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<are_base_of<Type, Tys...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  305 |   std::enable_if_t<are_base_of<Type, Tys...>::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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<are_base_of<Type, Tys...>::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<are_base_of<Type, Tys...>::value, void>
      |                                               ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<llvm::Type*> 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<Type *> 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<unsigned> Ints = std::nullopt);
      |                                                            ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h: In member function 'llvm::ArrayRef<llvm::Type*> 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<unsigned int> llvm::TargetExtType::int_params() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:780:20: error: missing template arguments before '(' token
  780 |     return ArrayRef(IntParams, getNumIntParameters());
      |                    ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:18,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<ConstantRange> 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<ConstantRange> getAbsoluteSymbolRange() const;
      |   ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:79:31: error: return type 'struct llvm::MaybeAlign' is incomplete
   79 |   MaybeAlign getAlign() const {
      |                               ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h: In member function 'void llvm::GlobalObject::getAlign() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalObject.h:82:12: error: 'decodeMaybeAlign' was not declared in this scope
   82 |     return decodeMaybeAlign(AlignmentData);
      |            ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<ProfileCount> 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<ProfileCount> 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<StringRef> 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<StringRef> 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/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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<typename MapType::mapped_type>,
      |            ^~~~~~~~~~~~~
      |            is_integral
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:55: error: expected '(' before '>' token
   42 |       std::is_integral_v<typename MapType::mapped_type>,
      |                                                       ^
      |                                                       (
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h:42:56: error: expected primary-expression before ',' token
   42 |       std::is_integral_v<typename MapType::mapped_type>,
      |                                                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/MapVector.h: In member function 'ValueT llvm::MapVector<KeyT, ValueT, MapType, VectorType>::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<ValueT>,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
      |                        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<ValueT>,
      |                                                      ^
/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<ValueT>,
      |                                                       ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:20,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Sequence.h:107:1: warning: inline variables are only available with '-std=c++17' or '-std=gnu++17'
  107 | inline constexpr force_iteration_on_noniterable_enum_t
      | ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMap.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h:88:34: error: 'nullopt_t' is not a member of 'std'; did you mean 'nullptr_t'?
   88 | class StringMapEntryStorage<std::nullopt_t> : 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<std::nullopt_t> : 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<std::nullopt_t> : public StringMapEntryBase {
      |                                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringMapEntry.h: In function 'decltype(auto) llvm::get(const llvm::StringMapEntry<ValueTy>&)':
/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/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<OperandBundleUse> 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<OperandBundleUse> 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<OperandBundleUse> 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<OperandBundleUse> getOperandBundle(uint32_t ID) const {
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1743:34: error: return type 'struct llvm::MaybeAlign' is incomplete
 1743 |   MaybeAlign getRetAlign() const {
      |                                  ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h: In member function 'void llvm::CallBase::getRetAlign() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1744:44: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1744 |     if (auto Align = Attrs.getRetAlignment())
      |                                            ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:47,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/InstrTypes.h:1747:49: error: invalid use of incomplete type 'struct llvm::MaybeAlign'
 1747 |       return F->getAttributes().getRetAlignment();
      |                                                 ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Value.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/User.h:24,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constant.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:117:8: note: forward declaration of 'struct llvm::MaybeAlign'
  117 | struct MaybeAlign : public std::optional<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<TypeSize> 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<TypeSize> 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<TypeSize> 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<TypeSize> 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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44:   required from 'bool llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::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<ReturnT, ParamTs>::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::AdjustedParamT<ParamTs>...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::CallPtrT = void (*)(void*, llvm::StringRef)]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28:   required from 'R llvm::unique_function<R(P ...)>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44:   required from 'bool llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::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<ReturnT, ParamTs>::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::AdjustedParamT<ParamTs>...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::CallPtrT = void (*)(void*, llvm::StringRef)]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28:   required from 'R llvm::unique_function<R(P ...)>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1541:69: error: 'nullopt' is not a member of 'std'
 1541 |                           ArrayRef<OperandBundleDef> 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<OperandBundleDef> 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<OperandBundleDef> 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<OperandBundleDef> 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<llvm::Value*>, 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<llvm::Value*>, 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<llvm::Value*>, const llvm::Twine&, llvm::BasicBlock*)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:1560:39: error: 'nullopt' is not a member of 'std'
 1560 |         CallInst(Ty, Func, Args, std::nullopt, NameStr, InsertAtEnd);
      |                                       ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:3627:8: error: 'optional' in namespace 'std' does not name a template type
 3627 |   std::optional<SmallVector<uint32_t, 8>> 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<SmallVector<uint32_t, 8>> 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<uint32_t>;
      |                              ^~~~~~~~
/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<uint32_t>;
      |                         ^~~
/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<OperandBundleDef> 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<OperandBundleDef> 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<llvm::Value*>, 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<llvm::Value*>, 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<llvm::Value*>, 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<OperandBundleDef> 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<OperandBundleDef> 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::BasicBlock*>, llvm::ArrayRef<llvm::Value*>, 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::BasicBlock*>, llvm::ArrayRef<llvm::Value*>, 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<Value *> Args = std::nullopt,
      |                                                               ^~~~~~~
--- lib/CMakeFiles/obj.Polly.dir/Analysis/PolyhedralInfo.cpp.o ---
*** [lib/CMakeFiles/obj.Polly.dir/Analysis/PolyhedralInfo.cpp.o] Error code 1

make[2]: stopped in /pbulk/work/devel/polly/work/polly-16.0.6.src/cmake-pkgsrc-build
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instructions.h:5418:13: error: 'optional' in namespace 'std' does not name a template type
 5418 | inline std::optional<SyncScope::ID> 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<SyncScope::ID> getAtomicSyncScopeID(const Instruction *I) {
      |        ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:44,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h: In member function 'llvm::TinyPtrVector<EltTy>::operator llvm::ArrayRef<T>() 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<EltTy>::operator llvm::MutableArrayRef<T>()':
/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/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<uint64_t> 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<uint64_t> 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<int64_t> 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<int64_t> 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<APInt> 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<APInt> 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<unsigned> 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<unsigned> 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<Align> {
      |        ^~~~~~~~~~
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<Align> {
      |        ^~~~~~~~~~
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<APInt> 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<APInt> 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/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<Align> {
      |        ^~~~~~~~~~
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<long long unsigned int> 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<uint64_t>(),
      |                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h: In member function 'llvm::ArrayRef<long long unsigned int> 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<uint64_t>(), 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/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<unsigned> AddressSpace = std::nullopt,
      |                       ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:62:31: error: expected ',' or '...' before '<' token
   62 |                  std::optional<unsigned> 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<unsigned> AddressSpace = std::nullopt,
      |                  ^~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/GlobalVariable.h:59:54: note: ...following parameter 6 which has a default argument
   59 |                  Constant *Initializer, const Twine &Name = "",
      |                                         ~~~~~~~~~~~~~^~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<CodeModel::Model> 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<CodeModel::Model> 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<char>::basic_string(llvm::StringRef&)'
  291 |   void setModuleIdentifier(StringRef ID) { ModuleID = std::string(ID); }
      |                                                                     ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h: In member function 'void llvm::Module::setModuleInlineAsm(llvm::StringRef)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: error: no matching function for call to 'std::__cxx11::basic_string<char>::basic_string(llvm::StringRef&)'
  306 |     GlobalScopeAsm = std::string(Asm);
      |                                     ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/usr/include/g++/bits/basic_string.h:638:9: note: candidate: 'template<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  638 |         basic_string(_InputIterator __beg, _InputIterator __end,
      |         ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:638:9: note:   template argument deduction/substitution failed:
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:46,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Module.h:306:37: note:   candidate expects 3 arguments, 1 provided
  306 |     GlobalScopeAsm = std::string(Asm);
      |                                     ^
In file included from /usr/include/g++/string:55,
                 from /usr/include/g++/bits/locale_classes.h:40,
                 from /usr/include/g++/bits/ios_base.h:41,
                 from /usr/include/g++/streambuf:41,
                 from /usr/include/g++/bits/streambuf_iterator.h:35,
                 from /usr/include/g++/iterator:66,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:30,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/usr/include/g++/bits/basic_string.h:600:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:52,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<std::is_same<std::decay_t<T>, 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<std::is_same<std::decay_t<T>, Any>>,
      |                                                                    ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:26: error: 'std::negation' has not been declared
   85 |                     std::negation<std::is_convertible<Any, std::decay_t<T>>>,
      |                          ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Any.h:85:34: error: expected '>' before '<' token
   85 |                     std::negation<std::is_convertible<Any, std::decay_t<T>>>,
      |                                  ^
/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<std::decay_t<T>>>::value,
      |                                                                   ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassInstrumentation.h:53,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:47,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<std::disjunction<
      |                                                ^~~~~~~~~~~
/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/lib/Analysis/ScopDetection.cpp:46:
/usr/include/g++/type_traits:2554:11: note: provided for 'template<bool _Cond, class _Tp> 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<CallableT, R, P...> * = nullptr)
      |               ^~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:378:31: error: expected ',' or '...' before '<' token
  378 |       detail::EnableIfCallable<CallableT, R, P...> * = 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<R(P ...)>::unique_function(CallableT, llvm::detail::EnableUnlessSameType<CallableT, llvm::unique_function<R(P ...)> >*, int)'
  378 |       detail::EnableIfCallable<CallableT, R, P...> * = 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<CallableT, unique_function> * = 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<const CallableT, R, P...> * = nullptr)
      |               ^~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:404:31: error: expected ',' or '...' before '<' token
  404 |       detail::EnableIfCallable<const CallableT, R, P...> * = 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<R(P ...) const>::unique_function(CallableT, llvm::detail::EnableUnlessSameType<CallableT, llvm::unique_function<R(P ...) const> >*, int)'
  404 |       detail::EnableIfCallable<const CallableT, R, P...> * = 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<CallableT, unique_function> * = nullptr,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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<int64_t> 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<int64_t> 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/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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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/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<Args>(Items)));
      |                                                                 ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TimeProfiler.h:80,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:49,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<Arg>,
      |                      ^~~~~~~~~~~
      |                      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<Arg>,
      |                                     ^
/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<Arg>,
      |                                      ^
/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<uint64_t> 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<uint64_t> FirstByteOffset;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:57: error: 'std::optional' has not been declared
  228 |   FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, std::optional<uint64_t> O,
      |                                                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:228:65: error: expected ',' or '...' before '<' token
  228 |   FormattedBytes(ArrayRef<uint8_t> B, uint32_t IL, std::optional<uint64_t> O,
      |                                                                 ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In constructor 'llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef<unsigned char>, 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<uint64_t> FirstByteOffset = std::nullopt,
      |                   ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:240:27: error: expected ',' or '...' before '<' token
  240 |              std::optional<uint64_t> FirstByteOffset = std::nullopt,
      |                           ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h: In function 'llvm::FormattedBytes llvm::format_bytes(llvm::ArrayRef<unsigned char>, 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<uint64_t> FirstByteOffset = std::nullopt,
      |                              ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Format.h:249:38: error: expected ',' or '...' before '<' token
  249 |                         std::optional<uint64_t> 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<unsigned char>, 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/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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, 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<!std::is_convertible_v<OtherT, T>> * = nullptr) {
      |                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:537:12: error: 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)' cannot be overloaded with 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)'
  537 |   explicit Expected(
      |            ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:529:3: note: previous declaration 'template<class T> template<class OtherT> llvm::Expected<T>::Expected(llvm::Expected<OtherT>&&, int)'
  529 |   Expected(Expected<OtherT> &&Other,
      |   ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1054:28: error: 'optional' in namespace 'std' does not name a template type
 1054 | template <typename T> std::optional<T> expectedToOptional(Expected<T> &&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 <typename T> std::optional<T> expectedToOptional(Expected<T> &&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 <typename T> std::optional<T> expectedToStdOptional(Expected<T> &&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 <typename T> std::optional<T> expectedToStdOptional(Expected<T> &&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<size_t> 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<size_t> 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<size_t> 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<size_t> 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<size_t> 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<size_t> Line;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In member function 'virtual void llvm::FileError::log(llvm::raw_ostream&) const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1279:9: error: 'Line' was not declared in this scope
 1279 |     if (Line)
      |         ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In constructor 'llvm::FileError::FileError(const llvm::Twine&, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1305:21: error: 'E' was not declared in this scope
 1305 |     Err = std::move(E);
      |                     ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:5: error: 'Line' was not declared in this scope
 1306 |     Line = std::move(LineNum);
      |     ^~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1306:22: error: 'LineNum' was not declared in this scope
 1306 |     Line = std::move(LineNum);
      |                      ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h: In static member function 'static llvm::Error llvm::FileError::build(const llvm::Twine&, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1311:31: error: 'E' was not declared in this scope
 1311 |     handleAllErrors(std::move(E),
      |                               ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Error.h:1317:53: error: 'Line' was not declared in this scope
 1317 |         std::unique_ptr<FileError>(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<size_t>(), 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<size_t>(), 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<size_t>(), 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<size_t>(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<size_t>(Line), std::move(E));
      |                                                  ^
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:41,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<llvm::AnalysisKey*, bool, 8>':
/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/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 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/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<llvm::AnalysisKey*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/usr/include/g++/type_traits:2092:9:   required from 'const size_t std::__strictest_alignment<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_size'
/usr/include/g++/type_traits:2113:56:   required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_len'
/usr/include/g++/type_traits:2119:71:   required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/usr/include/g++/type_traits:2546:11:   required by substitution of 'template<unsigned int _Len, class ... _Types> using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9:   required from 'struct llvm::AlignedCharArrayUnion<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59:   required from 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>' 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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<llvm::AnalysisKey*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> >'
/usr/include/g++/type_traits:2092:9:   required from 'const size_t std::__strictest_alignment<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_size'
/usr/include/g++/type_traits:2113:56:   required from 'const size_t std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>::_S_len'
/usr/include/g++/type_traits:2119:71:   required from 'struct std::aligned_union<1, llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/usr/include/g++/type_traits:2546:11:   required by substitution of 'template<unsigned int _Len, class ... _Types> using aligned_union_t = typename std::aligned_union::type [with unsigned int _Len = 1; _Types = {llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/AlignOf.h:28:9:   required from 'struct llvm::AlignedCharArrayUnion<llvm::detail::DenseMapPair<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*> > [2], llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 2>::LargeRep>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:904:59:   required from 'class llvm::SmallDenseMap<llvm::AnalysisKey*, llvm::TinyPtrVector<llvm::AnalysisKey*>, 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<llvm::AnalysisKey*, llvm::SmallVector<llvm::AnalysisKey*, 4>*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::value,
      |                                           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:48,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h: In member function 'void llvm::RepeatedPass<PassT>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef(llvm::StringRef)>)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/PassManager.h:1342:21: error: ambiguous overload for 'operator<<' (operand types are 'llvm::raw_ostream' and 'int')
 1342 |     OS << "repeat<" << Count << ">(";
      |     ~~~~~~~~~~~~~~~ ^~ ~~~~~
      |        |               |
      |        |               int
      |        llvm::raw_ostream
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:190:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(char)'
  190 |   raw_ostream &operator<<(char C) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:197:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned char)'
  197 |   raw_ostream &operator<<(unsigned char C) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:204:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(signed char)'
  204 |   raw_ostream &operator<<(signed char C) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:252:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(const int&)'
  252 |   raw_ostream &operator<<(const std::string_view &Str) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:260:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long unsigned int)'
  260 |   raw_ostream &operator<<(unsigned long N);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:261:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long int)'
  261 |   raw_ostream &operator<<(long N);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:262:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long unsigned int)'
  262 |   raw_ostream &operator<<(unsigned long long N);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:263:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(long long int)'
  263 |   raw_ostream &operator<<(long long N);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:266:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(unsigned int)'
  266 |   raw_ostream &operator<<(unsigned int N) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:270:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(int)'
  270 |   raw_ostream &operator<<(int N) {
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:274:16: note: candidate: 'llvm::raw_ostream& llvm::raw_ostream::operator<<(double)'
  274 |   raw_ostream &operator<<(double N);
      |                ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/Twine.h:553:23: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::Twine&)'
  553 |   inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) {
      |                       ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TypeSize.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Type.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DerivedTypes.h:23,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Function.h:29,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:26,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/raw_ostream.h:757:14: note: candidate: 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, int)'
  757 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t);
      |              ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/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
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<unsigned> 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<unsigned> 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<ThreadPoolStrategy>
      |        ^~~~~~~~
/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<ThreadPoolStrategy>
      |   ^~~
/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<ThreadPoolStrategy> 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<ThreadPoolStrategy> 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<ThreadPoolStrategy> 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/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<mt_only>::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<mt_only>::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<mt_only>::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<mt_only>::unlock()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/RWMutex.h:144:7: error: 'impl' was not declared in this scope
  144 |       impl.unlock();
      |       ^~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<int64_t> 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<int64_t> identifyObject(const void *Ptr) {
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h: In member function 'int64_t llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold, GrowthDelay>::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<int64_t> 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<int64_t> 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<int64_t> 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<int64_t> Out = identifyObject(Ptr);
      |                                  ^~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Allocator.h:259:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<Loop::LoopBounds>
      |                 ^~~~~~~~
/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<Loop::LoopBounds>
      |            ^~~
/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<LoopBounds> 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<LoopBounds> 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<bool> 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<bool> 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<int> 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<int> 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<const MDOperand *> 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<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
      | ^~~
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<T> 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<T> Result;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h: In constructor 'llvm::StringSwitch<T, R>::StringSwitch(llvm::StringRef)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:54:13: error: class 'llvm::StringSwitch<T, R>' 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<T, R>::StringSwitch(llvm::StringSwitch<T, R>&&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/StringSwitch.h:64:23: error: class 'llvm::StringSwitch<T, R>' 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<T, R>& llvm::StringSwitch<T, R>::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<T, R>& llvm::StringSwitch<T, R>::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<T, R>& llvm::StringSwitch<T, R>::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<T, R>& llvm::StringSwitch<T, R>::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<T, R>& llvm::StringSwitch<T, R>::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<T, R>& llvm::StringSwitch<T, R>::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<T, R>::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<T, R>::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: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<Align> {
      |        ^~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:26,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In member function 'llvm::Align llvm::ConstantInt::getAlignValue() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:30: error: invalid use of 'void'
  160 |     return getMaybeAlignValue().valueOrOne();
      |            ~~~~~~~~~~~~~~~~~~^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: expected ';' before 'valueOrOne'
  160 |     return getMaybeAlignValue().valueOrOne();
      |                                 ^~~~~~~~~~
      |                                 ;
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:160:33: error: 'valueOrOne' was not declared in this scope
  160 |     return getMaybeAlignValue().valueOrOne();
      |                                 ^~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:455:27: error: 'are_base_of' was not declared in this scope
  455 |   static std::enable_if_t<are_base_of<Constant, Csts...>::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<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type'
  455 |   static std::enable_if_t<are_base_of<Constant, Csts...>::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<bool _Cond, typename _Tp = void>
      |                        ^~~~~~~~
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<are_base_of<Constant, Csts...>::value, Constant *>
      |                                                                ^
      |                                                                ;
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantDataArray::get(llvm::LLVMContext&, ArrayTy&)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:701:52: error: missing template arguments before '(' token
  701 |     return ConstantDataArray::get(Context, ArrayRef(Elts));
      |                                                    ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:25: error: 'std::optional' has not been declared
 1247 |                    std::optional<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1247:33: error: expected ',' or '...' before '<' token
 1247 |                    std::optional<unsigned> 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<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1255:33: error: expected ',' or '...' before '<' token
 1255 |                    std::optional<unsigned> 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<unsigned> InRangeIndex = std::nullopt,
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1266:33: error: expected ',' or '...' before '<' token
 1266 |                    std::optional<unsigned> 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<llvm::Constant*>, bool, int)'
 1247 |                    std::optional<unsigned> 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<unsigned> 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<llvm::Value*>, bool, int)'
 1266 |                    std::optional<unsigned> 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<llvm::Constant*>, bool, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1250:24: error: missing template arguments before '(' token
 1250 |         Ty, C, ArrayRef((Value *const *)IdxList.data(), IdxList.size()),
      |                        ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:19: error: 'InRangeIndex' was not declared in this scope
 1251 |         InBounds, InRangeIndex, OnlyIfReducedTy);
      |                   ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1251:33: error: 'OnlyIfReducedTy' was not declared in this scope
 1251 |         InBounds, InRangeIndex, OnlyIfReducedTy);
      |                                 ^~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h: In static member function 'static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::Constant*, bool, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Constants.h:1260:64: error: 'InRangeIndex' was not declared in this scope
 1260 |     return getGetElementPtr(Ty, C, cast<Value>(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/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/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<Metadata *> Ops1, ArrayRef<Metadata *> 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/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIAssignID::DIAssignID(llvm::LLVMContext&, llvm::Metadata::StorageType)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:307:49: error: 'nullopt' is not a member of 'std'
  307 |       : MDNode(C, DIAssignIDKind, Storage, std::nullopt) {}
      |                                                 ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: 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<StringRef> 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<StringRef> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> Checksum;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:15: error: 'std::optional' has not been declared
  604 |          std::optional<ChecksumInfo<MDString *>> CS, MDString *Src,
      |               ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:604:23: error: expected ',' or '...' before '<' token
  604 |          std::optional<ChecksumInfo<MDString *>> 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<ChecksumInfo<StringRef>> CS,
      |                               ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:610:39: error: expected ',' or '...' before '<' token
  610 |                          std::optional<ChecksumInfo<StringRef>> CS,
      |                                       ^
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:31: error: 'std::optional' has not been declared
  623 |                          std::optional<ChecksumInfo<MDString *>> CS,
      |                               ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:623:39: error: expected ',' or '...' before '<' token
  623 |                          std::optional<ChecksumInfo<MDString *>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<StringRef>> 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<ChecksumInfo<StringRef>> 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<StringRef> 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<StringRef> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumKind> 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<ChecksumKind> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> 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<ChecksumInfo<MDString *>> MDChecksum;
      |                                             ^~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:614:9: error: 'CS' was not declared in this scope
  614 |     if (CS)
      |         ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:20: error: invalid use of member 'llvm::DIFile::Source' in static member function
  618 |                    Source ? MDString::get(Context, *Source) : nullptr, Storage,
      |                    ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:53: error: invalid use of member 'llvm::DIFile::Source' in static member function
  618 |                    Source ? MDString::get(Context, *Source) : nullptr, Storage,
      |                                                     ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:618:72: error: invalid use of member 'llvm::Metadata::Storage' in static member function
  618 |                    Source ? MDString::get(Context, *Source) : nullptr, Storage,
      |                                                                        ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here
   72 |   unsigned char Storage : 7;
      |                 ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:619:20: error: 'ShouldCreate' was not declared in this scope
  619 |                    ShouldCreate);
      |                    ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'llvm::TempDIFile llvm::DIFile::cloneImpl() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:25: error: 'getChecksum' was not declared in this scope
  629 |                         getChecksum(), getSource());
      |                         ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:629:40: error: 'getSource' was not declared in this scope; did you mean 'Source'?
  629 |                         getChecksum(), getSource());
      |                                        ^~~~~~~~~
      |                                        Source
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::get(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getIfExists(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  637 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:633:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  633 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::StringRef, llvm::StringRef, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:637:43: error: 'CS' was not declared in this scope
  637 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   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;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/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'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIFile* llvm::DIFile::getDistinct(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIFile llvm::DIFile::getTemporary(llvm::LLVMContext&, llvm::MDString*, llvm::MDString*, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:43: error: 'CS' was not declared in this scope
  642 |                     (Filename, Directory, CS, Source))
      |                                           ^~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:642:47: error: invalid use of member 'llvm::DIFile::Source' in static member function
  642 |                     (Filename, Directory, CS, Source))
      |                                               ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:638:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
  638 |   DEFINE_MDNODE_GET(DIFile,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:601:13: note: declared here
  601 |   MDString *Source;
      |             ^~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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<StringRef> 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<StringRef> DIScope::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<Signedness> 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<Signedness> 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<unsigned> 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<unsigned> DWARFAddressSpace;
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:22: error: 'std::optional' has not been declared
  974 |                 std::optional<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                      ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:974:30: error: expected ',' or '...' before '<' token
  974 |                 std::optional<unsigned> 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<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:984:24: error: expected ',' or '...' before '<' token
  984 |           std::optional<unsigned> 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<unsigned> DWARFAddressSpace, DIFlags Flags,
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:996:24: error: expected ',' or '...' before '<' token
  996 |           std::optional<unsigned> 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/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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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/IR/DebugInfoMetadata.h:989:57: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
  989 |                    DWARFAddressSpace, Flags, ExtraData, Annotations.get(),
      |                                                         ^~~~~~~~~~~
      |                                                         getAnnotations
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:20: error: invalid use of member 'llvm::Metadata::Storage' in static member function
  990 |                    Storage, ShouldCreate);
      |                    ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/TrackingMDRef.h:16,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugLoc.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:21,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Metadata.h:72:17: note: declared here
   72 |   unsigned char Storage : 7;
      |                 ^~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:990:29: error: 'ShouldCreate' was not declared in this scope
  990 |                    Storage, ShouldCreate);
      |                             ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function '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/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:59: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                           ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:42:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   42 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Distinct);         \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:22: error: 'DWARFAddressSpace' was not declared in this scope
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                      ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:41: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                         ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1016:48: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1016 |        OffsetInBits, DWARFAddressSpace, Flags, ExtraData, Annotations))
      |                                                ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1008:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1008 |   DEFINE_MDNODE_GET(
      |   ^~~~~~~~~~~~~~~~~
/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;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::get(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                 ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1026 |                      ExtraData, Annotations))
      |                      ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1026 |                      ExtraData, Annotations))
      |                                 ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:51:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   51 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued);          \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::DIDerivedType* llvm::DIDerivedType::getIfExists(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                 ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1026 |                      ExtraData, Annotations))
      |                      ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1026 |                      ExtraData, Annotations))
      |                                 ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:55:29: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   55 |     return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued,           \
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/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'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In static member function 'static llvm::TempDIDerivedType llvm::DIDerivedType::getTemporary(llvm::LLVMContext&, unsigned int, llvm::StringRef, llvm::DIFile*, unsigned int, llvm::DIScope*, llvm::DIType*, uint64_t, uint32_t, uint64_t, int)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:49: error: 'DWARFAddressSpace' was not declared in this scope
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                 ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: invalid use of member 'llvm::DIType::Flags' in static member function
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared here
  699 |   DIFlags Flags;
      |           ^~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:22: error: 'ExtraData' was not declared in this scope; did you mean 'getExtraData'?
 1026 |                      ExtraData, Annotations))
      |                      ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1026:33: error: 'Annotations' was not declared in this scope; did you mean 'getAnnotations'?
 1026 |                      ExtraData, Annotations))
      |                                 ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1025:68: error: 'llvm::DINode::DIFlags llvm::DIType::Flags' is private within this context
 1025 |                      AlignInBits, OffsetInBits, DWARFAddressSpace, Flags,
      |                                                                    ^~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:37:44: note: in definition of macro 'DEFINE_MDNODE_GET_UNPACK_IMPL'
   37 | #define DEFINE_MDNODE_GET_UNPACK_IMPL(...) __VA_ARGS__
      |                                            ^~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:47:26: note: in expansion of macro 'DEFINE_MDNODE_GET_UNPACK'
   47 |         getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Temporary));          \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:58:3: note: in expansion of macro 'DEFINE_MDNODE_GET_DISTINCT_TEMPORARY'
   58 |   DEFINE_MDNODE_GET_DISTINCT_TEMPORARY(CLASS, FORMAL, ARGS)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1017:3: note: in expansion of macro 'DEFINE_MDNODE_GET'
 1017 |   DEFINE_MDNODE_GET(DIDerivedType,
      |   ^~~~~~~~~~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:699:11: note: declared private here
  699 |   DIFlags Flags;
      |           ^~~~~
/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<DebugEmissionKind> 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<DebugEmissionKind> 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<DebugNameTableKind> 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<DebugNameTableKind> getNameTableKind(StringRef Str);
      |          ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:1670:8: error: 'optional' in namespace 'std' does not name a template type
 1670 |   std::optional<StringRef> 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<StringRef> 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<const DILocation *>
      |               ^~~~~~~~
/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<const DILocation *>
      |          ^~~
/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<const DILocation *>
      |               ^~~~~~~~
/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<const DILocation *>
      |          ^~~
/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<unsigned> 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<unsigned> encodeDiscriminator(unsigned BD, unsigned DF,
      |          ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:27,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<const DILocation *>
      |      ^~~~~~~~
/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<const DILocation *>
      | ^~~
/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<const DILocation *>
      |      ^~~~~~~~
/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<const DILocation *>
      | ^~~
/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<uint64_t> 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<uint64_t> 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<DIBasicType::Signedness> 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<DIBasicType::Signedness> 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<StringRef> 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<StringRef> 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<SignedOrUnsignedConstant> 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<SignedOrUnsignedConstant> 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<FragmentInfo> 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<FragmentInfo> 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<FragmentInfo> 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<FragmentInfo> 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<const DIExpression *>
      |               ^~~~~~~~
/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<const DIExpression *>
      |          ^~~
/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<DIExpression *>
      |               ^~~~~~~~
/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<DIExpression *>
      |          ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In constructor 'llvm::DIExpression::DIExpression(llvm::LLVMContext&, llvm::Metadata::StorageType, llvm::ArrayRef<long long unsigned int>)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2618:51: error: 'nullopt' is not a member of 'std'
 2618 |       : MDNode(C, DIExpressionKind, Storage, std::nullopt),
      |                                                   ^~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'bool llvm::DIExpression::isFragment() const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2788:36: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'?
 2788 |   bool isFragment() const { return getFragmentInfo().has_value(); }
      |                                    ^~~~~~~~~~~~~~~
      |                                    FragmentInfo
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h: In member function 'int llvm::DIExpression::fragmentCmp(const llvm::DIExpression*) const':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2965:23: error: 'getFragmentInfo' was not declared in this scope; did you mean 'FragmentInfo'?
 2965 |     auto Fragment1 = *getFragmentInfo();
      |                       ^~~~~~~~~~~~~~~
      |                       FragmentInfo
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:2966:30: error: 'const class llvm::DIExpression' has no member named 'getFragmentInfo'; did you mean 'FragmentInfo'?
 2966 |     auto Fragment2 = *Other->getFragmentInfo();
      |                              ^~~~~~~~~~~~~~~
      |                              FragmentInfo
/pbulk/work/devel/polly/work/.buildlink/include/llvm/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<Metadata *> 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<llvm::ValueAsMetadata*>)':
/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<FragmentInfo> 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<FragmentInfo> 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> FragmentInfo,
      |                      ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3740:30: error: expected ',' or '...' before '<' token
 3740 |                 std::optional<FragmentInfo> 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<FragmentInfo> 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<FragmentInfo> 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<llvm::DebugVariable>::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<llvm::DebugVariable>::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, <brace-enclosed initializer list>, 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 '<brace-enclosed initializer list>' 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<llvm::DebugVariable>::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<FragmentInfo> 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<FragmentInfo> Fragment = D.getFragment();
      |           ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DebugInfoMetadata.h:3789:9: error: 'Fragment' was not declared in this scope
 3789 |     if (Fragment)
      |         ^~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/IntrinsicInst.h:29,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/Support/ScopHelper.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:50,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/FPEnv.h:49:6: error: 'optional' in namespace 'std' does not name a template type
   49 | std::optional<RoundingMode> 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<RoundingMode> 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<StringRef> 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<StringRef> 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<fp::ExceptionBehavior> 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<fp::ExceptionBehavior> 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<StringRef> 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<StringRef> 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<Type *> 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<Type *> 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<Function *> 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<Function *> remangleIntrinsicFunction(Function *F);
      |   ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>'
/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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>' 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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>':
/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<llvm::ValueAsMetadata*, llvm::ValueAsMetadata**>'
  119 |   static_assert(TypesAreDistinct<PTs...>::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/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<uint64_t> 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<uint64_t> 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<DIExpression::FragmentInfo> 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<DIExpression::FragmentInfo> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<unsigned> 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<RoundingMode> 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<RoundingMode> 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<fp::ExceptionBehavior> 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<fp::ExceptionBehavior> 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/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<Align> {
      |        ^~~~~~~~~~
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,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.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<Align> {
      |        ^~~~~~~~~~
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<llvm::Metadata *> 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<llvm::Metadata *> 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<int> 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<int> 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<MemoryLocation> 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<MemoryLocation> 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<MemoryLocation> 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<MemoryLocation> 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/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h: In instantiation of 'class llvm::SmallDenseMap<const llvm::Value*, bool, 8>':
/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<std::pair<llvm::AACacheLoc, llvm::AACacheLoc>, 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/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<MemoryLocation> &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<MemoryLocation> &OptLoc) {
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:498:47: error: expected ',' or '...' before '<' token
  498 |                            const std::optional<MemoryLocation> &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<MemoryLocation> &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<MemoryLocation> &OptLoc,
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:592:47: error: expected ',' or '...' before '<' token
  592 |                            const std::optional<MemoryLocation> &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<MemoryLocation> &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<MemoryLocation> &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<MemoryLocation> &OptLoc) {
      |                                  ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/AliasAnalysis.h:641:47: error: expected ',' or '...' before '<' token
  641 |                            const std::optional<MemoryLocation> &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/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<NodeRef, std::optional<ChildItTy>>;
      |                                                ^~~~~~~~
/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<NodeRef, std::optional<ChildItTy>>;
      |                                                         ^~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:15: error: 'StackElement' was not declared in this scope
  103 |   std::vector<StackElement> VisitStack;
      |               ^~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:103:27: error: template argument 1 is invalid
  103 |   std::vector<StackElement> 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<GraphT, SetType, ExtStorage, GT>::df_iterator(llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::NodeRef)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:107:16: error: request for member 'push_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::df_iterator(llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::toNext()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:125:33: error: request for member 'back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<ChildItTy> &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<ChildItTy> &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<ChildItTy> &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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::VisitStack', which is of non-class type 'int'
  126 |       std::optional<ChildItTy> &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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>& llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::skipChildren()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DepthFirstIterator.h:186:16: error: request for member 'pop_back' in '((llvm::df_iterator<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>*)this)->llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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<GraphT, SetType, ExtStorage, GT>::NodeRef llvm::df_iterator<GraphT, SetType, ExtStorage, GT>::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/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/GenericDomTreeConstruction.h: In static member function 'static llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::RootsT llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::FindRoots(const DomTreeT&, llvm::DomTreeBuilder::SemiNCAInfo<DomTreeT>::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<NodeOrderMap> 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<NodeOrderMap> 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<NodeOrderMap> SuccOrder;
      |                                   ^~~~~~~~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:32,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/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<ConstantRange>
      |        ^~~~~~~~
/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<ConstantRange>
      |   ^~~
/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<ConstantRange> 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<ConstantRange> 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<MDMapT> 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<MDMapT> 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<MDMapT> &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<MDMapT> &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<Metadata *> 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<Metadata *> getMappedMD(const Metadata *MD) const {
      |   ^~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h: In member function 'bool llvm::ValueMap<KeyT, ValueT, Config>::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<KeyT, ValueT, Config>::MDMapT& llvm::ValueMap<KeyT, ValueT, Config>::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<KeyT, ValueT, Config>::clear()':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/ValueMap.h:147:5: error: 'MDMap' was not declared in this scope; did you mean 'MDMapT'?
  147 |     MDMap.reset();
      |     ^~~~~
      |     MDMapT
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolutionExpressions.h:20,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:54,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h: At global scope:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/ScalarEvolution.h:546:8: error: 'optional' in namespace 'std' does not name a template type
  546 |   std::optional<SCEV::NoWrapFlags>
      |        ^~~~~~~~
/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<SCEV::NoWrapFlags>
      |   ^~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |        ^~~~~~~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |   ^~~
/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<bool> 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<bool> 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<bool> 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<bool> 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<MonotonicPredicateType>
      |        ^~~~~~~~
/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<MonotonicPredicateType>
      |   ^~~
/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<LoopInvariantPredicate>
      |        ^~~~~~~~
/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<LoopInvariantPredicate>
      |   ^~~
/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<LoopInvariantPredicate>
      |        ^~~~~~~~
/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<LoopInvariantPredicate>
      |   ^~~
/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<LoopInvariantPredicate>
      |        ^~~~~~~~
/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<LoopInvariantPredicate>
      |   ^~~
/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<APInt> 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<APInt> 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<const SCEV *>
      |        ^~~~~~~~
/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<const SCEV *>
      |   ^~~
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::PointerIntPair<llvm::Value*, 1>, 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<ExitLimit> 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<ExitLimit> 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<ScalarEvolution::ExitLimit>
      |        ^~~~~~~~
/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<ScalarEvolution::ExitLimit>
      |   ^~~
/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<MonotonicPredicateType>
      |        ^~~~~~~~
/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<MonotonicPredicateType>
      |   ^~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |        ^~~~~~~~
/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<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>>
      |   ^~~
/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/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<const llvm::SCEV*> 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/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<uint64_t>
      |        ^~~~~~~~
/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<uint64_t>
      |   ^~~
/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<uint64_t> 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<uint64_t> 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<Align> Alignment = std::nullopt);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:100:24: error: expected ',' or '...' before '<' token
  100 |           std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                         ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:114:33: error: expected ',' or '...' before '<' token
  114 |                    std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                    ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:128:28: error: expected ',' or '...' before '<' token
  128 |               std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                       ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:152:31: error: expected ',' or '...' before '<' token
  152 |                  std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                     ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:158:29: error: expected ',' or '...' before '<' token
  158 |                std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFile(const llvm::Twine&, bool, bool, bool, int)'
  100 |           std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getOpenFileSlice(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, int64_t, bool, int)'
  114 |                    std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getOpenFile(llvm::sys::fs::file_t, const llvm::Twine&, uint64_t, bool, bool, int)'
  128 |               std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFileOrSTDIN(const llvm::Twine&, bool, bool, int)'
  152 |                  std::optional<Align> 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<std::unique_ptr<llvm::MemoryBuffer> > llvm::MemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)'
  158 |                std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:204:24: error: expected ',' or '...' before '<' token
  204 |           std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                     ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:210:29: error: expected ',' or '...' before '<' token
  210 |                std::optional<Align> 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<Align> Alignment = std::nullopt);
      |                              ^~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MemoryBuffer.h:220:38: error: expected ',' or '...' before '<' token
  220 |                         std::optional<Align> 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<std::unique_ptr<llvm::WritableMemoryBuffer> > llvm::WritableMemoryBuffer::getFile(const llvm::Twine&, bool, int)'
  204 |           std::optional<Align> 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<std::unique_ptr<llvm::WritableMemoryBuffer> > llvm::WritableMemoryBuffer::getFileSlice(const llvm::Twine&, uint64_t, uint64_t, bool, int)'
  210 |                std::optional<Align> 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> llvm::WritableMemoryBuffer::getNewUninitMemBuffer(size_t, const llvm::Twine&, int)'
  220 |                         std::optional<Align> 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/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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<uint64_t> 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<uint64_t> 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<uint64_t> 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<uint64_t> 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<uint64_t> 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<uint64_t> 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<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  439 |       basic_string()
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:439:7: note:   candidate expects 0 arguments, 1 provided
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/OptimizationRemarkEmitter.h:18,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:59:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h: In constructor 'llvm::DiagnosticInfoOptimizationBase::Argument::Argument(llvm::StringRef, bool)':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DiagnosticInfo.h:445:73: error: no matching function for call to 'std::__cxx11::basic_string<char>::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<class _InputIterator, class> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(_InputIterator, _InputIterator, const _Alloc&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&&'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  553 |       basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc())
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:553:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:533:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  518 |       basic_string(const _CharT* __s, size_type __n,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:518:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:500:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  500 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:500:7: note:   candidate expects 4 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:484:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  484 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:484:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:469:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = unsigned int]'
  469 |       basic_string(const basic_string& __str, size_type __pos,
      |       ^~~~~~~~~~~~
/usr/include/g++/bits/basic_string.h:469:7: note:   candidate expects 3 arguments, 1 provided
/usr/include/g++/bits/basic_string.h:456:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<char>&'
  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<char>; _Alloc = std::allocator<char>]'
  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<uint64_t> 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<uint64_t> H) { Hotness = H; }
      |                                                          ^
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<uint64_t> 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<uint64_t> computeHotness(const Value *V);
      |   ^~~
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator<ItTy, FuncTy, ReferenceTy>::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<llvm::BasicBlock* (*&)(llvm::Value*)>::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<llvm::BasicBlock* (*&)(llvm::Value*)>::type {aka llvm::BasicBlock* (*)(llvm::Value*)}
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'llvm::mapped_iterator<ItTy, FuncTy, ReferenceTy>::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<const llvm::BasicBlock* (*&)(const llvm::Value*)>::type' {aka 'const llvm::BasicBlock* (*)(const llvm::Value*)'} to 'int' [-fpermissive]
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<const llvm::Value*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32:   required from 'llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector<const llvm::Value*>; KeyInfoT = llvm::DenseMapInfo<llvm::Instruction*, void>; BucketT = llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >]'
/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<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>' 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<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/TinyPtrVector.h:40:12:   required from 'class llvm::TinyPtrVector<const llvm::Value*>'
/usr/include/g++/bits/stl_pair.h:218:11:   required from 'struct std::pair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:42:8:   required from 'struct llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/DenseMap.h:755:32:   required from 'llvm::DenseMap<KeyT, ValueT, KeyInfoT, BucketT>::~DenseMap() [with KeyT = llvm::Instruction*; ValueT = llvm::TinyPtrVector<const llvm::Value*>; KeyInfoT = llvm::DenseMapInfo<llvm::Instruction*, void>; BucketT = llvm::detail::DenseMapPair<llvm::Instruction*, llvm::TinyPtrVector<const llvm::Value*> >]'
/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<const llvm::Value*, llvm::SmallVector<const llvm::Value*, 4>*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::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/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56:   required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49:   required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73:   required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys ...>::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<NextTy>) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects<llvm::StructLayout, long long unsigned int>; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40:   required from 'T* llvm::TrailingObjects<BaseTy, TrailingTys>::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion
  399 |   static_assert(kValue > 0 && llvm::isPowerOf2_64(kValue),
      |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(4)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h: In instantiation of 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 2; size_t = unsigned int]':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:401:32:   required from 'constexpr size_t llvm::CTLog2() [with unsigned int kValue = 4; size_t = unsigned int]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:97:56:   required from 'static constexpr llvm::Align llvm::Align::Constant() [with unsigned int kValue = 4]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/Alignment.h:103:49:   required from 'static constexpr llvm::Align llvm::Align::Of() [with T = long long unsigned int]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:168:73:   required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys ...>::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<NextTy>) [with int Align = 4; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects<llvm::StructLayout, long long unsigned int>; PrevTy = llvm::StructLayout; NextTy = long long unsigned int; MoreTys = {}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/TrailingObjects.h:301:40:   required from 'T* llvm::TrailingObjects<BaseTy, TrailingTys>::getTrailingObjects() [with T = long long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long long unsigned int}]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/DataLayout.h:647:63:   required from here
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: non-constant condition for static assertion
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:50:   in 'constexpr' expansion of 'llvm::isPowerOf2_64(2)'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/Support/MathExtras.h:399:28: error: 'constexpr' call flows off the end of the function
In file included from /pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/ArrayRef.h:14,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/Instruction.h:17,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/BasicBlock.h:22,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/IR/CFG.h:25,
                 from /pbulk/work/devel/polly/work/.buildlink/include/llvm/Analysis/LoopInfo.h:46,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetectionDiagnostic.h:23,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/include/polly/ScopDetection.h:49,
                 from /pbulk/work/devel/polly/work/polly-16.0.6.src/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42:   required from 'llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::~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<T, <anonymous> >::pop_back() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = 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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:283:42:   required from 'llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::~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<T, <anonymous> >::pop_back() [with T = llvm::unique_function<void(llvm::StringRef, llvm::Any)>; bool <anonymous> = 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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any>::NonTrivialCallbacks*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::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/lib/Analysis/ScopDetection.cpp:46:
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/STLExtras.h: In instantiation of 'struct llvm::TypesAreDistinct<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/PointerUnion.h:119:43:   required from 'class llvm::PointerUnion<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44:   required from 'bool llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::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<ReturnT, ParamTs>::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::AdjustedParamT<ParamTs>...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::CallPtrT = void (*)(void*, llvm::StringRef)]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28:   required from 'R llvm::unique_function<R(P ...)>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>':
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:175:44:   required from 'bool llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::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<ReturnT, ParamTs>::getCallPtr() const)(void*, llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::AdjustedParamT<ParamTs>...) [with ReturnT = void; ParamTs = {llvm::StringRef}; llvm::detail::UniqueFunctionBase<ReturnT, ParamTs>::CallPtrT = void (*)(void*, llvm::StringRef)]'
/pbulk/work/devel/polly/work/.buildlink/include/llvm/ADT/FunctionExtras.h:383:28:   required from 'R llvm::unique_function<R(P ...)>::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<llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::TrivialCallback*, llvm::detail::UniqueFunctionBase<void, llvm::StringRef>::NonTrivialCallbacks*>'
  119 |   static_assert(TypesAreDistinct<PTs...>::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
3 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