* installing *source* package ‘Rpoppler’ ...
** this is package ‘Rpoppler’ version ‘0.1-3’
** package ‘Rpoppler’ successfully unpacked and MD5 sums checked
** using staged installation
checking for pkg-config... /usr/bin/pkg-config
checking whether pkg-config knows about poppler-glib >= 0.18.0... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++-22 -stdlib=libc++ -std=gnu++20 accepts -g... yes
checking whether we can use setErrorFunction... no
checking whether we can use setErrorCallback... no
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating src/config.h
** libs
using C compiler: ‘clang version 22.1.1 (https://github.com/llvm/llvm-project fef02d48c08db859ef83f84232ed78bd9d1c323a)’
using C++ compiler: ‘clang version 22.1.1 (https://github.com/llvm/llvm-project fef02d48c08db859ef83f84232ed78bd9d1c323a)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/Rpoppler/src'
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include/poppler/glib -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -I/usr/local/clang/include/poppler -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c Rpoppler.c -o Rpoppler.o
In file included from Rpoppler.c:1:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:34:
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:
In file included from /usr/include/glib-2.0/glib/gthread.h:36:
/usr/include/glib-2.0/glib/gutils.h:378:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
378 | if (G_UNLIKELY (nth_bit < -1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from Rpoppler.c:1:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:34:
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:
In file included from /usr/include/glib-2.0/glib/gthread.h:36:
/usr/include/glib-2.0/glib/gutils.h:393:22: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
393 | if (nth_bit < 0 || G_UNLIKELY (nth_bit > GLIB_SIZEOF_LONG * 8))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from Rpoppler.c:1:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:34:
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:
In file included from /usr/include/glib-2.0/glib/gthread.h:36:
/usr/include/glib-2.0/glib/gutils.h:408:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
408 | return G_LIKELY (number) ?
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from Rpoppler.c:1:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:202:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
202 | if (G_LIKELY (gstring != NULL &&
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from Rpoppler.c:1:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:224:6: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
224 | if G_UNLIKELY (gstring == NULL)
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from Rpoppler.c:1:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:227:6: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
227 | if G_UNLIKELY (val == NULL)
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from Rpoppler.c:1:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
235 | if (G_LIKELY (gstring->len + len_unsigned < gstring->allocated_len))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from Rpoppler.c:1:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:238:11: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
238 | if (G_LIKELY (val + len_unsigned <= end || val > end + len_unsigned))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from Rpoppler.c:1:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:31:
/usr/include/glib-2.0/gobject/gobject.h:804:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
804 | g_assert_true (G_IS_OBJECT (weak_pointer));
| ^
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: expanded from macro 'g_assert_true'
228 | if G_LIKELY (expr) ; else \
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from Rpoppler.c:1:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:31:
/usr/include/glib-2.0/gobject/gobject.h:807:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
807 | g_assert_null (weak_pointer);
| ^
/usr/include/glib-2.0/glib/gtestutils.h:250:59: note: expanded from macro 'g_assert_null'
250 | #define g_assert_null(expr) G_STMT_START { if G_LIKELY ((expr) == NULL) ; else \
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
Rpoppler.c:91:25: warning: unused variable 'err' [-Wunused-variable]
91 | SEXP ans, nms, val, err;
| ^~~
Rpoppler.c:207:9: warning: unused variable 'i' [-Wunused-variable]
207 | int i, n;
| ^
12 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include/poppler/glib -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -I/usr/local/clang/include/poppler -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c error.cc -o error.o
In file included from error.cc:3:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:34:
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:
In file included from /usr/include/glib-2.0/glib/gthread.h:36:
/usr/include/glib-2.0/glib/gutils.h:378:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
378 | if (G_UNLIKELY (nth_bit < -1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from error.cc:3:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:34:
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:
In file included from /usr/include/glib-2.0/glib/gthread.h:36:
/usr/include/glib-2.0/glib/gutils.h:393:22: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
393 | if (nth_bit < 0 || G_UNLIKELY (nth_bit > GLIB_SIZEOF_LONG * 8))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from error.cc:3:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:34:
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:
In file included from /usr/include/glib-2.0/glib/gthread.h:36:
/usr/include/glib-2.0/glib/gutils.h:408:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
408 | return G_LIKELY (number) ?
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from error.cc:3:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:202:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
202 | if (G_LIKELY (gstring != NULL &&
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from error.cc:3:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:224:6: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
224 | if G_UNLIKELY (gstring == NULL)
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from error.cc:3:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:227:6: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
227 | if G_UNLIKELY (val == NULL)
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from error.cc:3:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
235 | if (G_LIKELY (gstring->len + len_unsigned < gstring->allocated_len))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from error.cc:3:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:238:11: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
238 | if (G_LIKELY (val + len_unsigned <= end || val > end + len_unsigned))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from error.cc:3:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:31:
/usr/include/glib-2.0/gobject/gobject.h:804:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
804 | g_assert_true (G_IS_OBJECT (weak_pointer));
| ^
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: expanded from macro 'g_assert_true'
228 | if G_LIKELY (expr) ; else \
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from error.cc:3:
In file included from ./Rpoppler.h:6:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:31:
/usr/include/glib-2.0/gobject/gobject.h:807:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
807 | g_assert_null (weak_pointer);
| ^
/usr/include/glib-2.0/glib/gtestutils.h:240:59: note: expanded from macro 'g_assert_null'
240 | #define g_assert_null(expr) G_STMT_START { if G_LIKELY ((expr) == nullptr) ; else \
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
10 warnings generated.
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22/include -I/usr/local/clang/include -I/usr/local/clang/include/poppler/glib -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -I/usr/local/clang/include/poppler -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c init.c -o init.o
In file included from init.c:4:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:34:
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:
In file included from /usr/include/glib-2.0/glib/gthread.h:36:
/usr/include/glib-2.0/glib/gutils.h:378:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
378 | if (G_UNLIKELY (nth_bit < -1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from init.c:4:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:34:
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:
In file included from /usr/include/glib-2.0/glib/gthread.h:36:
/usr/include/glib-2.0/glib/gutils.h:393:22: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
393 | if (nth_bit < 0 || G_UNLIKELY (nth_bit > GLIB_SIZEOF_LONG * 8))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from init.c:4:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:34:
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:
In file included from /usr/include/glib-2.0/glib/gthread.h:36:
/usr/include/glib-2.0/glib/gutils.h:408:10: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
408 | return G_LIKELY (number) ?
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from init.c:4:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:202:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
202 | if (G_LIKELY (gstring != NULL &&
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from init.c:4:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:224:6: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
224 | if G_UNLIKELY (gstring == NULL)
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from init.c:4:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:227:6: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
227 | if G_UNLIKELY (val == NULL)
| ^
/usr/include/glib-2.0/glib/gmacros.h:1249:45: note: expanded from macro 'G_UNLIKELY'
1249 | #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from init.c:4:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:235:7: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
235 | if (G_LIKELY (gstring->len + len_unsigned < gstring->allocated_len))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from init.c:4:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:30:
In file included from /usr/include/glib-2.0/glib.h:56:
In file included from /usr/include/glib-2.0/glib/giochannel.h:36:
/usr/include/glib-2.0/glib/gstring.h:238:11: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
238 | if (G_LIKELY (val + len_unsigned <= end || val > end + len_unsigned))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from init.c:4:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:31:
/usr/include/glib-2.0/gobject/gobject.h:804:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
804 | g_assert_true (G_IS_OBJECT (weak_pointer));
| ^
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: expanded from macro 'g_assert_true'
228 | if G_LIKELY (expr) ; else \
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
In file included from init.c:4:
In file included from /usr/local/clang/include/poppler/glib/poppler.h:23:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:31:
/usr/include/glib-2.0/gobject/gobject.h:807:3: warning: '__COUNTER__' is a C2y extension [-Wc2y-extensions]
807 | g_assert_null (weak_pointer);
| ^
/usr/include/glib-2.0/glib/gtestutils.h:250:59: note: expanded from macro 'g_assert_null'
250 | #define g_assert_null(expr) G_STMT_START { if G_LIKELY ((expr) == NULL) ; else \
| ^
/usr/include/glib-2.0/glib/gmacros.h:1248:43: note: expanded from macro 'G_LIKELY'
1248 | #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1))
| ^
/usr/include/glib-2.0/glib/gmacros.h:1247:53: note: expanded from macro '_G_BOOLEAN_EXPR'
1247 | #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr)
| ^
10 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -shared -L/usr/local/clang/lib64 -L/usr/local/clang22/lib -L/usr/local/clang22/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/22/lib/x86_64-unknown-linux-gnu -o Rpoppler.so Rpoppler.o error.o init.o -L/usr/local/clang/lib64 -lpoppler-glib -lgobject-2.0 -lglib-2.0 -lcairo
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/Rpoppler/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/Rpoppler/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/Rpoppler/src'
installing to /data/gannet/ripley/R/packages/tests-clang/Rpoppler.Rcheck/00LOCK-Rpoppler/00new/Rpoppler/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Rpoppler)